From 30ece080006087a7e615cce3f7fc51b6d8a5d5bf Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 8 Feb 2008 17:22:15 +0000 Subject: Support receiving file handle from kernel in GETATTR request; Allow operations with a NULL path argument, if the filesystem supports it --- include/fuse.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/fuse.h') 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 -- cgit v1.2.3