mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-24 00:46:26 -05:00
add flock
This commit is contained in:
parent
77269a8bac
commit
8f594e17d7
4 changed files with 108 additions and 1 deletions
|
|
@ -34,6 +34,7 @@
|
|||
#include "destroy.hpp"
|
||||
#include "fallocate.hpp"
|
||||
#include "fgetattr.hpp"
|
||||
#include "flock.hpp"
|
||||
#include "flush.hpp"
|
||||
#include "fsync.hpp"
|
||||
#include "ftruncate.hpp"
|
||||
|
|
@ -95,7 +96,7 @@ namespace local
|
|||
#endif
|
||||
ops.fgetattr = mergerfs::fuse::fgetattr;
|
||||
#if FLOCK
|
||||
ops.flock = NULL;
|
||||
ops.flock = mergerfs::fuse::flock;
|
||||
#endif
|
||||
ops.flush = mergerfs::fuse::flush;
|
||||
ops.fsync = mergerfs::fuse::fsync;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue