mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-01-21 16:17:13 +08:00
Merge pull request #984 from trapexit/disable-locks
Ensure server handling of locks is disabled
This commit is contained in:
commit
518b4a6b85
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user