From: Jan Kara Date: Fri, 31 May 2013 23:37:56 +0000 (-0400) Subject: ext4: fix overflows in SEEK_HOLE, SEEK_DATA implementations X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~83^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7293fd146846e2a44d29e0477e0860c60fb856b;p=pandora-kernel.git ext4: fix overflows in SEEK_HOLE, SEEK_DATA implementations ext4_lblk_t is just u32 so multiplying it by blocksize can easily overflow for files larger than 4 GB. Fix that by properly typing the block offsets before shifting. Signed-off-by: Jan Kara Signed-off-by: Theodore Ts'o Reviewed-by: Zheng Liu --- Reading git-diff-tree failed