From bc680c87e6a519e3d225c9a48bba39edfb408cbd Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 24 Nov 2024 19:25:05 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 8b1fcf50..4b227802 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -156,6 +156,11 @@ 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_,