mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fuse_open.cpp
This commit is contained in:
parent
726428ce59
commit
f647b78031
1 changed files with 3 additions and 2 deletions
|
|
@ -344,11 +344,12 @@ namespace FUSE
|
|||
open(const char *fusepath_,
|
||||
fuse_file_info_t *ffi_)
|
||||
{
|
||||
std::mutex *m;
|
||||
pt.emplace();
|
||||
pt.visit(fusepath_,
|
||||
[](const PTMap::value_type &x_)
|
||||
[&](const PTMap::value_type &x_)
|
||||
{
|
||||
x_.second.mutex.lock();
|
||||
m = x_.second.mutex;
|
||||
});
|
||||
|
||||
return open2(fusepath_,ffi_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue