Jerry Lee aec51758ce 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+
2017-08-06 01:18:31 -04:00
..
2015-04-02 23:47:42 -04:00
2016-09-30 02:14:56 -04:00
2017-08-06 00:07:01 -04:00
2017-08-05 22:15:45 -04:00
2017-04-30 00:36:53 -04:00
2017-02-02 11:52:14 -05:00
2017-06-21 21:10:32 -04:00
2017-04-30 00:36:53 -04:00
2016-11-01 09:43:26 -06:00
2017-06-22 11:31:25 -04:00
2017-08-06 00:07:01 -04:00
2017-06-09 09:27:32 -06:00
2017-04-03 01:05:58 -04:00