aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <mszeredi@suse.cz>2012-07-20 09:45:09 +0200
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2012-07-20 09:45:09 +0200
commit78c2cc25d5537063ae3a6f94578e1db2bb9ba0b6 (patch)
tree196565be4fad459083787eed0a2ccd283e7d9296 /include
parentd7d7ee9581a1a65527b9627e13bead27a429c777 (diff)
Remove compatibility path handling
This means that now NULL is a valid path for operations that take a file descriptor if the file was unlinked and hard_remove option is specified.
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 7522cb6..a23dadb 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -447,28 +447,15 @@ struct fuse_operations {
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, lock, ioctl and poll
- *
- * If this flag is set these operations continue to work on
- * unlinked files even if "-ohard_remove" option was specified.
- */
- unsigned int flag_nullpath_ok:1;
-
- /**
* Flag indicating that the path need not be calculated for
* the following operations:
*
* read, write, flush, release, fsync, readdir, releasedir,
* fsyncdir, ftruncate, fgetattr, lock, ioctl and poll
*
- * Closely related to flag_nullpath_ok, but if this flag is
- * set then the path will not be calculaged even if the file
- * wasn't unlinked. However the path can still be non-NULL if
- * it needs to be calculated for some other reason.
+ * If this flag is set then the path will not be calculaged even if the
+ * file wasn't unlinked. However the path can still be non-NULL if it
+ * needs to be calculated for some other reason.
*/
unsigned int flag_nopath:1;
@@ -481,7 +468,7 @@ struct fuse_operations {
/**
* Reserved flags, don't set
*/
- unsigned int flag_reserved:29;
+ unsigned int flag_reserved:30;
/**
* Ioctl