From: Theodore Ts'o Date: Tue, 23 Apr 2013 12:59:35 +0000 (-0400) Subject: ext4: fix type-widening bug in inode table readahead code X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~83^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d606e2c9fccdd4e67febf1e2da500e1bfe9e045;p=pandora-kernel.git ext4: fix type-widening bug in inode table readahead code Due to a missing cast, the high 32-bits of a 64-bit block number used when calculating the readahead block for inode tables can get lost. This means we can end up fetching the wrong blocks for readahead for file systems > 16TB. Linus found this when experimenting with an enhacement to the sparse static code checker which checks for missing widening casts before binary "not" operators. Reported-by: Linus Torvalds Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed