diff options
author | Josef Bacik <jbacik@redhat.com> | 2009-05-06 16:02:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-06 16:36:09 -0700 |
commit | df3935ffd6166fdd00702cf548fb5bb55737758b (patch) | |
tree | b220111452403aba3affa1fbbc03d2927d3787aa /mm/oom_kill.c | |
parent | 57adc4d2dbf968fdbe516359688094eef4d46581 (diff) | |
download | linux-3.10-df3935ffd6166fdd00702cf548fb5bb55737758b.tar.gz linux-3.10-df3935ffd6166fdd00702cf548fb5bb55737758b.tar.bz2 linux-3.10-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 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions