diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 0989c8c2..704bf311 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -333,8 +333,8 @@ namespace FUSE pti = PassthroughStuff::get_pti(fusepath_); - fmt::print("lock {}\n",(void*)m); - const std::lock_guard lock(*m); + fmt::print("lock {}\n",(void*)pti); + const std::lock_guard lock(pti->mutex); fmt::print("locked {}\n",fusepath_); sleep(10);