diff options
author | Jerry Lee <jerrylee@qnap.com> | 2017-08-06 01:18:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-11 08:49:30 -0700 |
commit | 12353a00df25d5c8da8de8c60b705e5ccc436cfe (patch) | |
tree | 1d3a5931bea5019931cf99fff6c53a9c108ff211 /arch/arm/boot | |
parent | 0814c3a9447ba284ef91b2d27755bf5a4514ca64 (diff) |
ext4: fix overflow caused by missing cast in ext4_resize_fs()
commit aec51758ce10a9c847a62a48a168f8c804c6e053 upstream.
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: 1c6bd7173d66
Signed-off-by: Jerry Lee <jerrylee@qnap.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/boot')
0 files changed, 0 insertions, 0 deletions