Browse Source

fuse_open.cpp

passthrough2
Antonio SJ Musumeci 7 months ago
parent
commit
f61237ad84
  1. 8
      src/fuse_open.cpp

8
src/fuse_open.cpp

@ -331,12 +331,8 @@ namespace FUSE
{
std::mutex *m = nullptr;
pt.insert(PTMap::value_type{fusepath_,PT{}});
pt.visit(fusepath_,
[&](const PTMap::value_type &x_)
{
m = &x_.second.mutex;
});
m = PassthroughMutex::get_mutex(fusepath_);
fmt::print("lock {}\n",(void*)m);
const std::lock_guard<std::mutex> lock(*m);
fmt::print("locked {}\n",fusepath_);

Loading…
Cancel
Save