Files
linux/fs/fuse
Miklos Szeredi 6cdc9e836c fuse: truncate pending writes on O_TRUNC
commit e4648309b8 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
..
2019-10-17 13:40:55 -07:00
2018-09-05 09:18:39 +02:00