Browse Source

fuse_getattr.cpp

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

3
src/fuse_getattr.cpp

@ -149,8 +149,7 @@ namespace l
if(rv == -1) if(rv == -1)
return -errno; return -errno;
auto rv = cache.insert({fusepath_,basepaths[0]});
i = rv.first;
i = cache.insert({fusepath_,basepaths[0]}).first;
} }
fullpath = fs::path::make(i->second,fusepath_); fullpath = fs::path::make(i->second,fusepath_);

Loading…
Cancel
Save