summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@redhat.com>2009-05-06 16:02:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-06 16:36:09 -0700
commitdf3935ffd6166fdd00702cf548fb5bb55737758b (patch)
treeb220111452403aba3affa1fbbc03d2927d3787aa /fs/ext4/ext4.h
parent57adc4d2dbf968fdbe516359688094eef4d46581 (diff)
downloadblackbird-obmc-linux-df3935ffd6166fdd00702cf548fb5bb55737758b.tar.gz
blackbird-obmc-linux-df3935ffd6166fdd00702cf548fb5bb55737758b.zip
fiemap: fix problem with setting FIEMAP_EXTENT_LAST
Fix a problem where the generic block based fiemap stuff would not properly set FIEMAP_EXTENT_LAST on the last extent. I've reworked things to keep track if we go past the EOF, and mark the last extent properly. The problem was reported by and tested by Eric Sandeen. Tested-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Josef Bacik <jbacik@redhat.com> Cc: <linux-ext4@vger.kernel.org> Cc: <xfs-masters@oss.sgi.com> Cc: <linux-btrfs@vger.kernel.org> Cc: Steven Whitehouse <swhiteho@redhat.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <Joel.Becker@oracle.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud