aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-07-21 18:53:04 +0200
committerDan Pasanen <dan.pasanen@gmail.com>2015-10-28 21:00:18 -0500
commitf7f37f16aabe334c2422a933010ee4ff073938f7 (patch)
tree3f5cb4eb4298a8724267820d15d2fbb209c78be9 /include
parent13a440a3b11b0cbb9e2d48dda2366bbecb06fb67 (diff)
downloadandroid_external_fuse-f7f37f16aabe334c2422a933010ee4ff073938f7.tar.gz
android_external_fuse-f7f37f16aabe334c2422a933010ee4ff073938f7.tar.bz2
android_external_fuse-f7f37f16aabe334c2422a933010ee4ff073938f7.zip
libfuse: highlevel API: fix directory file handle passed to ioctl() method
Reported by Eric Biggers Change-Id: I49119e982b11679edcafd9a87da69d965fd124a9
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 5aba010..b82325e 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -503,6 +503,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,