From e3b7d4c278a26520be63d99d6ea84b26906fe73d Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 21 Jul 2014 18:53:04 +0200 Subject: libfuse: highlevel API: fix directory file handle passed to ioctl() method Reported by Eric Biggers --- include/fuse.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/fuse.h') 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, -- cgit v1.2.3