From: Eric Wong Date: Mon, 27 Feb 2023 07:22:10 +0000 (+0000) Subject: f3: opendir: set keep_cache, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e98b13595e00870a2e19ea87ec8645b826509bf;p=thirdparty%2Fpublic-inbox.git f3: opendir: set keep_cache, too cache_readdir and keep_cache are independent flags, so we honor the global keep_cache. --- diff --git a/lib/PublicInbox/f3.h b/lib/PublicInbox/f3.h index b180d659c..3ac3f5755 100644 --- a/lib/PublicInbox/f3.h +++ b/lib/PublicInbox/f3.h @@ -1056,6 +1056,7 @@ f3_opendir(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) fuse_reply_err(req, err); } else { fi->fh = -1; + fi->keep_cache = f3.keep_cache; #if FUSE_VERSION >= FUSE_MAKE_VERSION(3, 5) fi->cache_readdir = f3.cache_readdir; #endif