android_kernel_oneplus_msm8998/fs/ext4
Jan Kara 21228341bf ext4: fix races of writeback with punch hole and zero range
commit 011278485ecc3cd2a3954b5d4c73101d919bf1fa upstream.

When doing delayed allocation, update of on-disk inode size is postponed
until IO submission time. However hole punch or zero range fallocate
calls can end up discarding the tail page cache page and thus on-disk
inode size would never be properly updated.

Make sure the on-disk inode size is updated before truncating page
cache.

Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-04 14:48:53 -07:00
..
acl.c
acl.h
balloc.c ext4: fix scheduling in atomic on group checksum failure 2016-02-25 12:01:14 -08:00
bitmap.c
block_validity.c
crypto.c
crypto_fname.c
crypto_key.c
crypto_policy.c
dir.c
ext4.h ext4: fix races of writeback with punch hole and zero range 2016-05-04 14:48:53 -07:00
ext4_crypto.h
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
extents.c ext4: fix races of writeback with punch hole and zero range 2016-05-04 14:48:53 -07:00
extents_status.c
extents_status.h
file.c ext4: fix races between page faults and hole punching 2016-05-04 14:48:53 -07:00
fsync.c
hash.c
ialloc.c ext4: fix scheduling in atomic on group checksum failure 2016-02-25 12:01:14 -08:00
indirect.c
inline.c
inode.c ext4: fix races of writeback with punch hole and zero range 2016-05-04 14:48:53 -07:00
ioctl.c
Kconfig
Makefile
mballoc.c
mballoc.h
migrate.c
mmp.c
move_extent.c ext4: add lockdep annotations for i_data_sem 2016-04-20 15:42:13 +09:00
namei.c
page-io.c
readpage.c
resize.c ext4: fix potential integer overflow 2016-02-25 12:01:15 -08:00
super.c ext4: fix races between page faults and hole punching 2016-05-04 14:48:53 -07:00
symlink.c
sysfs.c
truncate.h ext4: fix races between page faults and hole punching 2016-05-04 14:48:53 -07:00
xattr.c
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c