Browse Source

fuse_getattr.cpp

getattr-cache
Antonio SJ Musumeci 10 months ago
parent
commit
819c341ec7
  1. 2
      src/fuse_getattr.cpp

2
src/fuse_getattr.cpp

@ -107,6 +107,8 @@ namespace l
StrVec basepaths;
thread_local static std::unordered_map<std::string,std::string> cache;
auto i = cache.find(fusepath_);
rv = searchFunc_(branches_,fusepath_,&basepaths);
if(rv == -1)
return -errno;

Loading…
Cancel
Save