lineage_android_kernel_xiao.../fs/ext4
Jerry Lee 12353a00df 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: 1c6bd7173d
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>
2017-08-11 08:49:30 -07:00
..
Kconfig
Makefile
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c ext4: add missing KERN_CONT to a few more debugging uses 2016-10-15 09:57:31 -04:00
dir.c ext4: remove unused variable 2016-09-30 02:14:56 -04:00
ext4.h ext4: sanity check the block and cluster size at mount time 2016-11-19 20:58:15 -05:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h ext4: do not perform data journaling when data is encrypted 2017-01-06 10:40:14 +01:00
extents.c ext4: fix fdatasync(2) after extent manipulation operations 2017-06-14 15:05:58 +02:00
extents_status.c
extents_status.h
file.c ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize 2017-08-11 08:49:30 -07:00
fsync.c
hash.c
ialloc.c
indirect.c
inline.c ext4: mark inode dirty after converting inline directory 2017-03-30 09:41:25 +02:00
inode.c fs: add i_blocksize() 2017-06-14 15:06:00 +02:00
ioctl.c Lots of bug fixes and cleanups. 2016-10-07 15:15:33 -07:00
mballoc.c fs: add i_blocksize() 2017-06-14 15:06:00 +02:00
mballoc.h ext4: add missing KERN_CONT to a few more debugging uses 2016-10-15 09:57:31 -04:00
migrate.c
mmp.c
move_extent.c fs: add i_blocksize() 2017-06-14 15:06:00 +02:00
namei.c fscrypt: avoid collisions when presenting long encrypted filenames 2017-05-25 15:44:38 +02:00
page-io.c fs: use mapping_set_error instead of opencoded set_bit 2016-10-11 15:06:33 -07:00
readpage.c
resize.c ext4: fix overflow caused by missing cast in ext4_resize_fs() 2017-08-11 08:49:30 -07:00
super.c ext4: fix fencepost in s_first_meta_bg validation 2017-03-26 13:05:58 +02:00
symlink.c Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-10-10 17:11:50 -07:00
sysfs.c ext4: check return value of kstrtoull correctly in reserved_clusters_store 2017-07-15 12:16:16 +02:00
truncate.h
xattr.c ext4: lock the xattr block before checksuming it 2017-03-30 09:41:25 +02:00
xattr.h ext4: fix deadlock between inline_data and ext4_expand_extra_isize_ea() 2017-03-12 06:41:41 +01:00
xattr_security.c
xattr_trusted.c
xattr_user.c