diff options
author | Josef Bacik <jbacik@redhat.com> | 2009-05-07 01:02:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-07 01:36:09 +0200 |
commit | df3935ffd6166fdd00702cf548fb5bb55737758b (patch) | |
tree | b220111452403aba3affa1fbbc03d2927d3787aa /init | |
parent | Eliminate thousands of warnings with gcc 3.2 build (diff) | |
download | linux-df3935ffd6166fdd00702cf548fb5bb55737758b.tar.xz 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 'init')
0 files changed, 0 insertions, 0 deletions