Searched hist:"0 d606e2c9fccdd4e67febf1e2da500e1bfe9e045" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ext4/ |
H A D | inode.c | diff 0d606e2c9fccdd4e67febf1e2da500e1bfe9e045 Tue Apr 23 07:59:35 CDT 2013 Theodore Ts'o <tytso@mit.edu> 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 <torvalds@linux-foundation.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
|