diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 13b5ccbd..88663775 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -106,7 +106,10 @@ namespace l int rv; string fullpath; StrVec basepaths; + thread_local static std::unordered_map cache; + rv = + rv = searchFunc_(branches_,fusepath_,&basepaths); if(rv == -1) return -errno;