Browse Source

Merge pull request #984 from trapexit/disable-locks

Ensure server handling of locks is disabled
pull/991/head 2.33.1
trapexit 3 years ago
committed by GitHub
parent
commit
518b4a6b85
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/fuse_init.cpp

2
src/fuse_init.cpp

@ -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…
Cancel
Save