Ensure server handling of locks is disabled

This commit is contained in:
Antonio SJ Musumeci 2021-11-27 00:01:12 -05:00
parent c58da1ab9c
commit ee8532c70d

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;
}