Browse Source

fuse_getattr.cpp

getattr
Antonio SJ Musumeci 4 weeks ago
parent
commit
d0e59fd6fa
  1. 28
      src/fuse_getattr.cpp

28
src/fuse_getattr.cpp

@ -156,23 +156,17 @@ namespace l
const fuse_context *fc = fuse_get_context();
const ugid::Set ugid(fc->uid,fc->gid);
timeout_->entry = ((rv >= 0) ?
cfg->cache_entry :
cfg->cache_negative_entry);
timeout_->attr = cfg->cache_attr;
return cfg->getattr.process(cfg->branches,
fusepath_,
st_,
timeout_);
rv = l::getattr(cfg->func.getattr.policy,
cfg->branches,
fusepath_,
st_,
cfg->symlinkify,
cfg->symlinkify_timeout,
cfg->follow_symlinks);
rv = cfg->getattr.process(cfg->branches,
fusepath_,
st_);
// rv = l::getattr(cfg->func.getattr.policy,
// cfg->branches,
// fusepath_,
// st_,
// cfg->symlinkify,
// cfg->symlinkify_timeout,
// cfg->follow_symlinks);
timeout_->entry = ((rv >= 0) ?
cfg->cache_entry :

Loading…
Cancel
Save