Merge pull request #984 from trapexit/disable-locks

Ensure server handling of locks is disabled
This commit is contained in:
trapexit 2021-11-27 00:02:55 -05:00 committed by GitHub
commit 518b4a6b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,6 +101,8 @@ namespace FUSE
l::want_if_capable(conn_,FUSE_CAP_POSIX_ACL,&cfg->posix_acl);
l::want_if_capable(conn_,FUSE_CAP_WRITEBACK_CACHE,&cfg->writeback_cache);
l::want_if_capable_max_pages(conn_,cfg);
conn_->want &= ~FUSE_CAP_POSIX_LOCKS;
conn_->want &= ~FUSE_CAP_FLOCK_LOCKS;
return NULL;
}