Browse Source

fuse_getattr.cpp

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

2
src/fuse_getattr.cpp

@ -146,7 +146,7 @@ namespace l
nonstd::optional<std::string> basepath; nonstd::optional<std::string> basepath;
basepath = cache.find(fusepath_); basepath = cache.find(fusepath_);
if(basepath == NULL)
if(!basepath)
{ {
rv = searchFunc_(branches_,fusepath_,&basepaths); rv = searchFunc_(branches_,fusepath_,&basepaths);
if(rv == -1) if(rv == -1)

Loading…
Cancel
Save