summaryrefslogtreecommitdiffstats
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2019-10-23 14:26:37 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2019-10-23 14:26:37 +0200
commite4648309b85a78f8c787457832269a8712a8673e (patch)
tree59b43e109af068370d36fd35a6f7d88be00c4e82 /lib/lockref.c
parentb24e7598db62386a95a3c8b9c75630c5d56fe077 (diff)
downloadlinux-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 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions