android_kernel_motorola_sm6225/fs/fuse
Miklos Szeredi 62e42369de 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 13:06:13 +01:00
..
acl.c fuse: Support fuse filesystems outside of init_user_ns 2018-03-20 17:11:44 +01:00
control.c fuse: fix control dir setup and teardown 2018-05-31 12:26:10 +02:00
cuse.c fuse: fix memleak in cuse_channel_open 2019-10-11 18:21:20 +02:00
dev.c fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock 2019-10-05 13:10:13 +02:00
dir.c fuse: flush dirty data/metadata before non-truncate setattr 2019-11-06 13:06:13 +01:00
file.c fuse: truncate pending writes on O_TRUNC 2019-11-06 13:06:13 +01:00
fuse_i.h fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock 2019-10-05 13:10:13 +02:00
inode.c fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock 2019-10-05 13:10:13 +02:00
Kconfig fuse: Add posix ACL support 2016-10-01 07:32:32 +02:00
Makefile fuse: Use generic xattr ops 2016-10-01 07:32:32 +02:00
xattr.c fuse: Ensure posix acls are translated outside of init_user_ns 2018-05-31 12:26:10 +02:00