summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2023-03-01 09:46:10 +0000
committerNikolaus Rath <Nikolaus@rath.org>2023-03-01 09:46:10 +0000
commit4f8aae77e6d5f27ce22a3b62f9d69f36f5a5774c (patch)
treed462608332d80b93ad9b3de3fd9ddffe56b24190
parent17e8b3e27304b9c57397c70077062ba5bb5e5dc1 (diff)
downloadfuse-4f8aae77e6d5f27ce22a3b62f9d69f36f5a5774c.tar.gz
Update description of keep_cache.
-rw-r--r--include/fuse_common.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index ca15be8..06ee365 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -62,11 +62,10 @@ struct fuse_file_info {
/** Can be filled in by open, to use direct I/O on this file. */
unsigned int direct_io : 1;
- /** Can be filled in by open. It signals the kernel that any
- currently cached file data (ie., data that the filesystem
- provided the last time the file was open) need not be
- invalidated. Has no effect when set in other contexts (in
- particular it does nothing when set by opendir()). */
+ /** Can be filled in by open and opendir. It signals the kernel that any
+ currently cached data (ie., data that the filesystem provided the
+ last time the file/directory was open) need not be invalidated when
+ the file/directory is closed. */
unsigned int keep_cache : 1;
/** Indicates a flush operation. Set in flush operation, also