diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2008-02-08 17:22:15 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-02-08 17:22:15 +0000 |
commit | 30ece080006087a7e615cce3f7fc51b6d8a5d5bf (patch) | |
tree | 5d60a4679f82a1bb941356278d87abe2b9560d1b /include/fuse.h | |
parent | b20d88bbbc6e5ae67f0c99595859fd653949a3aa (diff) | |
download | libfuse-30ece080006087a7e615cce3f7fc51b6d8a5d5bf.tar.gz |
Support receiving file handle from kernel in GETATTR request; Allow operations with a NULL path argument, if the filesystem supports it
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 14 |
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 |