Browse Source

fuse_open.cpp

passthrough2
Antonio SJ Musumeci 7 months ago
parent
commit
f647b78031
  1. 5
      src/fuse_open.cpp

5
src/fuse_open.cpp

@ -344,11 +344,12 @@ namespace FUSE
open(const char *fusepath_, open(const char *fusepath_,
fuse_file_info_t *ffi_) fuse_file_info_t *ffi_)
{ {
std::mutex *m;
pt.emplace(); pt.emplace();
pt.visit(fusepath_, 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_); return open2(fusepath_,ffi_);

Loading…
Cancel
Save