diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2019-10-23 14:26:37 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-10-23 14:26:37 +0200 |
commit | e4648309b85a78f8c787457832269a8712a8673e (patch) | |
tree | 59b43e109af068370d36fd35a6f7d88be00c4e82 /virt | |
parent | b24e7598db62386a95a3c8b9c75630c5d56fe077 (diff) | |
download | linux-e4648309b85a78f8c787457832269a8712a8673e.tar.gz linux-e4648309b85a78f8c787457832269a8712a8673e.tar.bz2 linux-e4648309b85a78f8c787457832269a8712a8673e.zip |
fuse: truncate pending writes on O_TRUNC
Make sure cached writes are not reordered around open(..., O_TRUNC), with
the obvious wrong results.
Fixes: 4d99ff8f12eb ("fuse: Turn writeback cache on")
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions