Browse Source

fuse_getattr.cpp

getattr-cache
Antonio SJ Musumeci 8 months ago
parent
commit
e29bcc02fc
  1. 2
      src/fuse_getattr.cpp

2
src/fuse_getattr.cpp

@ -143,7 +143,7 @@ namespace l
static PolicyCache cache(1024*1024); static PolicyCache cache(1024*1024);
basepath = cache.find(fusepath_); basepath = cache.find(fusepath_);
if(basepath == NULL)
if(basepath.get().empty())
{ {
rv = searchFunc_(branches_,fusepath_,&basepaths); rv = searchFunc_(branches_,fusepath_,&basepaths);
if(rv == -1) if(rv == -1)

Loading…
Cancel
Save