Browse Source

fuse_getattr.cpp

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

7
src/fuse_getattr.cpp

@ -152,6 +152,13 @@ namespace l
basepath = cache.insert(fusepath_,basepaths[0]); 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;

Loading…
Cancel
Save