diff --git a/src/func_getattr_ff.cpp b/src/func_getattr_ff.cpp index 8ceac6b5..b945bdce 100644 --- a/src/func_getattr_ff.cpp +++ b/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; }