summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorTheodore Ts'o2013-04-23 14:59:35 +0200
committerTheodore Ts'o2013-04-23 14:59:35 +0200
commit0d606e2c9fccdd4e67febf1e2da500e1bfe9e045 (patch)
tree9b908af21c968176149bbbf4016306fa50774055 /usr
parentext4: add check for inodes_count overflow in new resize ioctl (diff)
downloadkernel-qcow2-linux-0d606e2c9fccdd4e67febf1e2da500e1bfe9e045.tar.gz
kernel-qcow2-linux-0d606e2c9fccdd4e67febf1e2da500e1bfe9e045.tar.xz
kernel-qcow2-linux-0d606e2c9fccdd4e67febf1e2da500e1bfe9e045.zip
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions