about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-02-27 07:22:10 +0000
committerEric Wong <e@80x24.org>2023-02-27 07:31:04 +0000
commit0e98b13595e00870a2e19ea87ec8645b826509bf (patch)
tree28ef4a14d17938c28319a8359dad976a0f08a33d
parent64c3666af2bcee114d0645a9f053696b61ac425e (diff)
downloadpublic-inbox-0e98b13595e00870a2e19ea87ec8645b826509bf.tar.gz
cache_readdir and keep_cache are independent flags, so we honor
the global keep_cache.
-rw-r--r--lib/PublicInbox/f3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/f3.h b/lib/PublicInbox/f3.h
index b180d659..3ac3f575 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