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