Browse Source

fuse_getattr.cpp

getattr-cache
Antonio SJ Musumeci 10 months ago
parent
commit
7c62fda3c7
  1. 9
      src/fuse_getattr.cpp

9
src/fuse_getattr.cpp

@ -155,11 +155,10 @@ namespace l
fullpath = fs::path::make(i->second,fusepath_);
rv = l::getattr(fullpath,followsymlinks_,st_);
if((rv == -1) && (errno == ENOENT))
{
cache.erase(fusepath_);
continue;
}
if((rv == -1) && (errno != ENOENT))
break;
cache.erase(fusepath_);
}
if(rv == -1)

Loading…
Cancel
Save