aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <mszeredi@suse.cz>2014-07-21 18:53:04 +0200
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2014-07-21 18:53:04 +0200
commite3b7d4c278a26520be63d99d6ea84b26906fe73d (patch)
treecb1c7173562dca7f4ecf114723a2c3b5fd28b1d3 /include
parent7914d3a435705dd6cf876e9a704557d7632d3cec (diff)
libfuse: highlevel API: fix directory file handle passed to ioctl() method
Reported by Eric Biggers
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h
index bf86bda..e16104c 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -483,6 +483,9 @@ struct fuse_operations {
* _IOC_READ in area and if both are set in/out area. In all
* non-NULL cases, the area is of _IOC_SIZE(cmd) bytes.
*
+ * If flags has FUSE_IOCTL_DIR then the fuse_file_info refers to a
+ * directory file handle.
+ *
* Introduced in version 2.8
*/
int (*ioctl) (const char *, int cmd, void *arg,