aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_common.h
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2022-03-14 09:48:43 +0000
committerGitHub <noreply@github.com>2022-03-14 09:48:43 +0000
commit2b7a6f065b6e30723d6cc8668cff198dbb62b914 (patch)
tree6420fbb2ddc1c8f04f6c4a05633401d3ceca68e1 /include/fuse_common.h
parent3c2ba7aa2500618b7b11255ef3f699d6615ad5a2 (diff)
parent66b04453b7a5d7aefa0a55e9101afe0347215128 (diff)
downloadlibfuse-2b7a6f065b6e30723d6cc8668cff198dbb62b914.tar.gz
Merge pull request #635 from amir73il/fopen_noflush
Add support for FOPEN_NOFLUSH flag
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r--include/fuse_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index ea4bdb0..d7481be 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -83,8 +83,12 @@ struct fuse_file_info {
nothing when set by open()). */
unsigned int cache_readdir : 1;
+ /** Can be filled in by open, to indicate that flush is not needed
+ on close. */
+ unsigned int noflush : 1;
+
/** Padding. Reserved for future use*/
- unsigned int padding : 25;
+ unsigned int padding : 24;
unsigned int padding2 : 32;
/** File handle id. May be filled in by filesystem in create,