summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_aout.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.com>2015-12-07 14:34:49 -0500
committerTheodore Ts'o <tytso@mit.edu>2015-12-07 14:34:49 -0500
commit011278485ecc3cd2a3954b5d4c73101d919bf1fa (patch)
tree740938e00aa0c972db386b5576656e646c02e36d /fs/binfmt_aout.c
parent32ebffd3bbb4162da5ff88f9a35dd32d0a28ea70 (diff)
downloadop-kernel-dev-011278485ecc3cd2a3954b5d4c73101d919bf1fa.zip
op-kernel-dev-011278485ecc3cd2a3954b5d4c73101d919bf1fa.tar.gz
ext4: fix races of writeback with punch hole and zero range
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>
Diffstat (limited to 'fs/binfmt_aout.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud