From 4f8aae77e6d5f27ce22a3b62f9d69f36f5a5774c Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Wed, 1 Mar 2023 09:46:10 +0000 Subject: Update description of keep_cache. --- include/fuse_common.h | 9 ++++----- 1 file 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 -- cgit v1.2.1