Browse Source

func_getattr_ff.cpp

getattr
Antonio SJ Musumeci 4 weeks ago
parent
commit
689fce8b3f
  1. 4
      src/func_getattr_ff.cpp

4
src/func_getattr_ff.cpp

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