aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2013-05-31 23:37:56 +0000
committerTheodore Ts'o <[email protected]>2013-05-31 23:37:56 +0000
commite7293fd146846e2a44d29e0477e0860c60fb856b (patch)
tree7216115993c95f6648bd58fdbae91527ffedbb18 /fs/jbd2/commit.c
parentext4: fix data offset overflow on 32-bit archs in ext4_inline_data_fiemap() (diff)
downloadkernel-e7293fd146846e2a44d29e0477e0860c60fb856b.tar.gz
kernel-e7293fd146846e2a44d29e0477e0860c60fb856b.zip
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Reviewed-by: Zheng Liu <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions