From 64aab37adba36c2ccf0c712371abcd080a37e0da Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 12 Apr 2024 11:18:19 -0500 Subject: [PATCH] fuse_open.cpp --- src/fuse_open.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);