android_kernel_oneplus_msm8998/fs/fuse
Miklos Szeredi 6cdc9e836c fuse: truncate pending writes on O_TRUNC
commit e4648309b85a78f8c787457832269a8712a8673e upstream.

Make sure cached writes are not reordered around open(..., O_TRUNC), with
the obvious wrong results.

Fixes: 4d99ff8f12 ("fuse: Turn writeback cache on")
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-06 12:09:18 +01:00
..
control.c fuse: fix control dir setup and teardown 2018-07-03 11:21:28 +02:00
cuse.c fuse: fix memleak in cuse_channel_open 2019-10-17 13:40:55 -07:00
dev.c fuse: retrieve: cap requested size to negotiated max_write 2019-06-22 08:18:20 +02:00
dir.c fuse: flush dirty data/metadata before non-truncate setattr 2019-11-06 12:09:18 +01:00
file.c fuse: truncate pending writes on O_TRUNC 2019-11-06 12:09:18 +01:00
fuse_i.h fuse: Dont call set_page_dirty_lock() for ITER_BVEC pages for async_dio 2018-11-10 07:41:37 -08:00
inode.c fuse: Fix oops at process_init_reply() 2018-09-05 09:18:39 +02:00
Kconfig
Makefile