Browse Source

fuse_getattr.cpp

getattr-cache
Antonio SJ Musumeci 9 months ago
parent
commit
69510773b8
  1. 3
      src/fuse_getattr.cpp

3
src/fuse_getattr.cpp

@ -106,7 +106,10 @@ namespace l
int rv; int rv;
string fullpath; string fullpath;
StrVec basepaths; StrVec basepaths;
thread_local static std::unordered_map<std::string,std::string> cache;
rv =
rv = searchFunc_(branches_,fusepath_,&basepaths); rv = searchFunc_(branches_,fusepath_,&basepaths);
if(rv == -1) if(rv == -1)
return -errno; return -errno;

Loading…
Cancel
Save