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 /drivers/spi | |
parent | fuse: flush dirty data/metadata before non-truncate setattr (diff) | |
download | linux-e4648309b85a78f8c787457832269a8712a8673e.tar.xz 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 'drivers/spi')
0 files changed, 0 insertions, 0 deletions