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