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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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_POSIX_ACL,&cfg->posix_acl); |
|
|
l::want_if_capable(conn_,FUSE_CAP_WRITEBACK_CACHE,&cfg->writeback_cache); |
|
|
l::want_if_capable(conn_,FUSE_CAP_WRITEBACK_CACHE,&cfg->writeback_cache); |
|
|
l::want_if_capable_max_pages(conn_,cfg); |
|
|
l::want_if_capable_max_pages(conn_,cfg); |
|
|
|
|
|
conn_->want &= ~FUSE_CAP_POSIX_LOCKS; |
|
|
|
|
|
conn_->want &= ~FUSE_CAP_FLOCK_LOCKS; |
|
|
|
|
|
|
|
|
return NULL; |
|
|
return NULL; |
|
|
} |
|
|
} |
|
|