From ae5b156a08030cc045a4662c8102d5adff7546d7 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 24 Nov 2024 22:12:17 -0600 Subject: [PATCH] func_getattr_ff.cpp --- src/func_getattr_ff.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; }