mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ext4: fix overflow caused by missing cast in ext4_resize_fs()
commitaec51758ceupstream. On a 32-bit platform, the value of n_blcoks_count may be wrong during the file system is resized to size larger than 2^32 blocks. This may caused the superblock being corrupted with zero blocks count. Fixes:1c6bd7173dSigned-off-by: Jerry Lee <jerrylee@qnap.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
9ce36a5423
commit
a867769b69
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue