summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMike Hommey2009-11-11 23:26:55 +0100
committerLinus Torvalds2009-11-12 16:26:01 +0100
commite04b5ef8b49db87d01a9b3a47fe41a918a0c0ff5 (patch)
treef643a43591e5d4593e79bafb47b8d3db70346af2 /net
parentpps: events reporting fix up (diff)
downloadkernel-qcow2-linux-e04b5ef8b49db87d01a9b3a47fe41a918a0c0ff5.tar.gz
kernel-qcow2-linux-e04b5ef8b49db87d01a9b3a47fe41a918a0c0ff5.tar.xz
kernel-qcow2-linux-e04b5ef8b49db87d01a9b3a47fe41a918a0c0ff5.zip
__generic_block_fiemap(): fix for files bigger than 4GB
Because of an integer overflow on start_blk, various kind of wrong results would be returned by the generic_block_fiemap() handler, such as no extents when there is a 4GB+ hole at the beginning of the file, or wrong fe_logical when an extent starts after the first 4GB. Signed-off-by: Mike Hommey <mh@glandium.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Steven Whitehouse <swhiteho@redhat.com> Cc: Theodore Ts'o <tytso@mit.edu> Cc: Eric Sandeen <sandeen@sgi.com> Cc: Josef Bacik <jbacik@redhat.com> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions