From 69510773b8d1524087510f821d8f086c33e07e20 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 13 Feb 2024 19:56:51 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;