Browse Source

fuse_getattr.cpp

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

8
src/fuse_getattr.cpp

@ -173,6 +173,14 @@ namespace l
cfg->symlinkify, cfg->symlinkify,
cfg->symlinkify_timeout, cfg->symlinkify_timeout,
cfg->follow_symlinks); cfg->follow_symlinks);
if(rv == -ENOENT)
rv = l::getattr(cfg->func.getattr.policy,
cfg->branches,
fusepath_,
st_,
cfg->symlinkify,
cfg->symlinkify_timeout,
cfg->follow_symlinks);
timeout_->entry = ((rv >= 0) ? timeout_->entry = ((rv >= 0) ?
cfg->cache_entry : cfg->cache_entry :

Loading…
Cancel
Save