From 99dcde574b3197368783fa3f7d878e044a5c23c4 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sat, 15 Oct 2016 16:17:12 -0700 Subject: Re-activated lost no_remote_*lock options. --- lib/fuse_lowlevel.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/fuse_lowlevel.c') 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) -- cgit v1.2.3