Browse Source

func_getattr_ff.cpp

getattr
Antonio SJ Musumeci 4 weeks ago
parent
commit
ae5b156a08
  1. 5
      src/func_getattr_ff.cpp

5
src/func_getattr_ff.cpp

@ -22,10 +22,13 @@ Func2::GetattrFF::process(const Branches &branches_,
rv = fs::lstat(fullpath.c_str(),st_);
if(rv == 0)
{
timeout_->entry = cfg->cache_entry;
timeout_->attr = cfg->cache_attr;
fs::inode::calc(fusepath_,st_);
return 0;
}
}
timeout_->entry = cfg->cache_negative_entry;
return -ENOENT;
}
Loading…
Cancel
Save