aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_lowlevel.c
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-15 16:17:12 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-15 16:17:12 -0700
commit99dcde574b3197368783fa3f7d878e044a5c23c4 (patch)
treeb368975add014b5b5580641c6736b236224a7469 /lib/fuse_lowlevel.c
parentdc436101370e0ab2ea4d3a2a3454711ad7051ae8 (diff)
Re-activated lost no_remote_*lock options.
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r--lib/fuse_lowlevel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 3b30b21..abde850 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -1840,6 +1840,9 @@ static void apply_want_options(struct fuse_session *opts,
LL_ENABLE(opts->async_read, FUSE_CAP_ASYNC_READ);
LL_DISABLE(opts->sync_read, FUSE_CAP_ASYNC_READ);
+
+ LL_DISABLE(opts->no_remote_posix_lock, FUSE_CAP_POSIX_LOCKS);
+ LL_DISABLE(opts->no_remote_flock, FUSE_CAP_FLOCK_LOCKS);
}
static void do_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg)