fuse_getattr.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-14 00:00:19 -06:00
parent 1efc9bb5c6
commit 7c62fda3c7

View file

@ -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)