aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/uapi/linux/fuse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/fuse.h b/include/uapi/linux/fuse.h
index d27b50a44f74..31a504f1ee60 100644
--- a/include/uapi/linux/fuse.h
+++ b/include/uapi/linux/fuse.h
@@ -119,6 +119,7 @@
119 * 119 *
120 * 7.28 120 * 7.28
121 * - add FUSE_COPY_FILE_RANGE 121 * - add FUSE_COPY_FILE_RANGE
122 * - add FOPEN_CACHE_DIR
122 */ 123 */
123 124
124#ifndef _LINUX_FUSE_H 125#ifndef _LINUX_FUSE_H
@@ -222,10 +223,12 @@ struct fuse_file_lock {
222 * FOPEN_DIRECT_IO: bypass page cache for this open file 223 * FOPEN_DIRECT_IO: bypass page cache for this open file
223 * FOPEN_KEEP_CACHE: don't invalidate the data cache on open 224 * FOPEN_KEEP_CACHE: don't invalidate the data cache on open
224 * FOPEN_NONSEEKABLE: the file is not seekable 225 * FOPEN_NONSEEKABLE: the file is not seekable
226 * FOPEN_CACHE_DIR: allow caching this directory
225 */ 227 */
226#define FOPEN_DIRECT_IO (1 << 0) 228#define FOPEN_DIRECT_IO (1 << 0)
227#define FOPEN_KEEP_CACHE (1 << 1) 229#define FOPEN_KEEP_CACHE (1 << 1)
228#define FOPEN_NONSEEKABLE (1 << 2) 230#define FOPEN_NONSEEKABLE (1 << 2)
231#define FOPEN_CACHE_DIR (1 << 3)
229 232
230/** 233/**
231 * INIT request/reply flags 234 * INIT request/reply flags