lineage_android_kernel_xiao.../fs/fuse
Miklos Szeredi 709c37e26c 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:18:15 +01:00
..
Kconfig
Makefile
acl.c
control.c
cuse.c fuse: fix memleak in cuse_channel_open 2019-10-17 13:42:12 -07:00
dev.c fuse: retrieve: cap requested size to negotiated max_write 2019-06-22 08:17:15 +02:00
dir.c fuse: flush dirty data/metadata before non-truncate setattr 2019-11-06 12:18:15 +01:00
file.c fuse: truncate pending writes on O_TRUNC 2019-11-06 12:18:15 +01:00
fuse_i.h
inode.c
xattr.c