mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 04:20:23 +09:00
commite4648309b8upstream. 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>