android_kernel_samsung_msm8976/fs/ext4
Daeho Jeong ac83325651 ext4: fix inode checksum calculation problem if i_extra_size is small
commit 05ac5aa18abd7db341e54df4ae2b4c98ea0e43b7 upstream.

We've fixed the race condition problem in calculating ext4 checksum
value in commit b47820edd163 ("ext4: avoid modifying checksum fields
directly during checksum veficationon"). However, by this change,
when calculating the checksum value of inode whose i_extra_size is
less than 4, we couldn't calculate the checksum value in a proper way.
This problem was found and reported by Nix, Thank you.

Reported-by: Nix <nix@esperi.org.uk>
Signed-off-by: Daeho Jeong <daeho.jeong@samsung.com>
Signed-off-by: Youngjin Gil <youngjin.gil@samsung.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2019-07-27 21:43:28 +02:00
..
Kconfig
Makefile Import latest Samsung release 2017-04-18 03:43:52 +02:00
acl.c posix_acl: Clear SGID bit when setting file permissions 2017-04-28 00:00:11 -07:00
acl.h
balloc.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
bitmap.c
block_validity.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
dir.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
ext4.h ext4: sanity check the block and cluster size at mount time 2019-07-27 21:42:20 +02:00
ext4_extents.h
ext4_jbd2.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
ext4_jbd2.h
extents.c ext4: check for extents that wrap around 2019-07-27 21:41:51 +02:00
extents_status.c ext4: fix data corruption caused by unwritten and delayed extents 2015-05-13 05:15:42 -07:00
extents_status.h
file.c ext4: prevent bugon on race between write/fcntl 2015-02-11 14:48:17 +08:00
fsync.c
hash.c
ialloc.c ext4: fix hang when processing corrupted orphaned inode list 2019-07-27 21:41:49 +02:00
indirect.c ext4: don't retry file block mapping on bigalloc fs with non-extent file 2015-08-03 09:29:43 -07:00
inline.c ext4: mark inode dirty after converting inline directory 2019-07-27 21:43:15 +02:00
inode.c ext4: fix inode checksum calculation problem if i_extra_size is small 2019-07-27 21:43:28 +02:00
ioctl.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
mballoc.c ext4: trim allocation requests to group size 2019-07-27 21:43:27 +02:00
mballoc.h
migrate.c ext4: correctly migrate a file with a hole at the beginning 2015-08-03 09:29:43 -07:00
mmp.c
move_extent.c ext4: add lockdep annotations for i_data_sem 2016-06-07 10:42:50 +02:00
namei.c ext4: avoid modifying checksum fields directly during checksum verification 2019-07-27 21:42:19 +02:00
page-io.c
resize.c This is the 3.10.98 stable release 2017-04-18 17:17:24 +02:00
super.c ext4: return EROFS if device is r/o and journal replay is needed 2019-07-27 21:43:28 +02:00
symlink.c
truncate.h
xattr.c ext4: avoid modifying checksum fields directly during checksum verification 2019-07-27 21:42:19 +02:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c