diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-15 16:24:02 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-15 16:24:02 -0700 |
commit | 587df370419e641ed47489f08069ad5f4ca4fe5f (patch) | |
tree | f322fac2bd6b4ca4d746a652c41de1f836cddfa1 /lib/fuse_lowlevel.c | |
parent | a47dedd47f79685c1b025331d30de7d998e1c4b7 (diff) | |
parent | 99dcde574b3197368783fa3f7d878e044a5c23c4 (diff) |
Merge branch 'fixup-lock-options'
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r-- | lib/fuse_lowlevel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 33e0ae5..a96f3a5 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -1840,6 +1840,9 @@ static void apply_want_options(struct session_opts *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) |