From: Nikolaus Rath Date: Sat, 15 Oct 2016 23:17:12 +0000 (-0700) Subject: Re-activated lost no_remote_*lock options. X-Git-Tag: fuse-3.0.0rc1~45^2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=99dcde574b3197368783fa3f7d878e044a5c23c4;p=qemu-gpiodev%2Flibfuse.git Re-activated lost no_remote_*lock options. --- 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)