diff options
| author | Jerry Lee <jerrylee@qnap.com> | 2017-08-06 01:18:31 -0400 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-08-12 12:17:18 +0200 |
| commit | 62073f9a349a7eb89dc6bcb8837a3706e6010390 (patch) | |
| tree | e350606883714a80164ac04c5a01fffc74ddb59e /include/linux/raid_class.h | |
| parent | 3ac87b315ceeacb0f487530e3962ae7e798a2231 (diff) | |
ext4: fix overflow caused by missing cast in ext4_resize_fs()
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>
Cc: stable@vger.kernel.org # 3.7+
Diffstat (limited to 'include/linux/raid_class.h')
0 files changed, 0 insertions, 0 deletions
