mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-26 02:09:52 +08:00
fuse_open.cpp
This commit is contained in:
parent
726428ce59
commit
f647b78031
|
@ -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…
Reference in New Issue
Block a user