Browse Source

fuse_getattr.cpp

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

9
src/fuse_getattr.cpp

@ -152,7 +152,14 @@ namespace l
basepath = cache.insert(fusepath_,basepaths[0]);
}
fullpath = fs::path::make(basepath,fusepath_);
rv = l::getattr(fullpath,followsymlinks_,st_);
if(rv == 0)
break;
if((rv == -1) && (errno != ENOENT))
break;
for(int c = 0; c < 2; c++)

Loading…
Cancel
Save