From: Mike Hommey Date: Wed, 11 Nov 2009 22:26:55 +0000 (-0800) Subject: __generic_block_fiemap(): fix for files bigger than 4GB X-Git-Tag: v2.6.32-rc7~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04b5ef8b49db87d01a9b3a47fe41a918a0c0ff5;p=pandora-kernel.git __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 Cc: Alexander Viro Cc: Steven Whitehouse Cc: Theodore Ts'o Cc: Eric Sandeen Cc: Josef Bacik Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed