aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fuse.h')
-rw-r--r--include/fuse.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h
index b7708c7..384a7b4 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -423,6 +423,20 @@ struct fuse_operations {
* Introduced in version 2.6
*/
int (*bmap) (const char *, size_t blocksize, uint64_t *idx);
+
+ /**
+ * Flag indicating, that the filesystem can accept a NULL path
+ * as the first argument for the following operations:
+ *
+ * read, write, flush, release, fsync, readdir, releasedir,
+ * fsyncdir, ftruncate, fgetattr and lock
+ */
+ unsigned int flag_nullpath_ok : 1;
+
+ /**
+ * Reserved flags, don't set
+ */
+ unsigned int flag_reserved : 31;
};
/** Extra context that may be needed by some filesystems