diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 2a43c10b..6ff8712c 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -152,7 +152,9 @@ namespace l if(rv == -1) return -errno; - basepath = cache.insert(fusepath_,basepaths[0]); + basepath = basepaths[0]; + cache.insert(fusepath_,basepath.value()); + } fullpath = fs::path::make(basepath.value(),fusepath_);