diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 6db0f852..bf9133f4 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -107,6 +107,8 @@ namespace l StrVec basepaths; thread_local static std::unordered_map cache; + auto i = cache.find(fusepath_); + rv = searchFunc_(branches_,fusepath_,&basepaths); if(rv == -1) return -errno;