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)
commit3a3076f4d6e2fa31338a0b007df42a3b32f079e0
tree58bb9ec51a2e99baf7b28cebd0c9d3df2fc1c7a7
parent1918ad77f7f908ed67cf37c505c6ad4ac52f1ecf
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