Browse Source

fuse_getattr.cpp

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

7
src/fuse_getattr.cpp

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

Loading…
Cancel
Save