]> git.baikalelectronics.ru Git - kernel.git/commit
Cleanup generic block based fiemap
authorJosef Bacik <josef@redhat.com>
Fri, 23 Apr 2010 16:17:17 +0000 (12:17 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Apr 2010 17:39:48 +0000 (10:39 -0700)
commit1935aadd6407ee39e0a5da33477776556d717cfa
tree58bb9ec51a2e99baf7b28cebd0c9d3df2fc1c7a7
parentb18af4b94c99101b5b729b6ab2d1efbcc46f80ab
Cleanup generic block based fiemap

This cleans up a few of the complaints of __generic_block_fiemap.  I've
fixed all the typing stuff, used inline functions instead of macros,
gotten rid of a couple of variables, and made sure the size and block
requests are all block aligned.  It also fixes a problem where sometimes
FIEMAP_EXTENT_LAST wasn't being set properly.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ioctl.c
include/linux/fs.h