Browse Source

fuse_getattr.cpp

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

10
src/fuse_getattr.cpp

@ -159,7 +159,10 @@ namespace l
{
rv = searchFunc_(branches_,fusepath_,&basepaths);
if(rv == -1)
return -errno;
{
_cache.erase(fusepath_);
return -errno;
}
basepath = cache.insert(fusepath_,basepaths[0]);
@ -167,7 +170,10 @@ namespace l
}
if(rv == -1)
return -errno;
{
return -errno;
}
if(symlinkify_ && symlinkify::can_be_symlink(*st_,symlinkify_timeout_))
symlinkify::convert(fullpath,st_);

Loading…
Cancel
Save