diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 6e7b06e0..18856422 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -316,6 +316,8 @@ namespace FUSE pti = PassthroughStuff::get_pti(fusepath_); const std::lock_guard lg(pti->mutex); + if(pti->open_count) + if(pti->backing_id) { int fd;