passthrough_ll: add flock()
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 14 Aug 2018 19:37:02 +0000 (21:37 +0200)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 10 Oct 2018 09:49:48 +0000 (10:49 +0100)
commite8225e8e8716f653ac72e5c7cb8c467a12b1be9f
tree452541460c892238c017ad4c6cf6af87cb184aa5
parentcc892903a855af87ee388da2c770629f1250075e
passthrough_ll: add flock()

Conditionally enable flock() locking on underlying filesystem, based on the
flock/no_flock options.  Default is "no_flock", meaning locking will be
local to the fuse filesystem and won't be propagated to the filesystem
passed through.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
example/passthrough_ll.c