[Devel] [PATCH vz7 vz7.29.6-mfuse] fuse: ioctl(FUSE_DEV_IOC_SETAFF): fix ioctl number
Maxim Patlasov
mpatlasov at virtuozzo.com
Wed Mar 29 14:07:38 PDT 2017
_IOR(229, 1, uint32_t) is not correct because the ioctl
takes no args. Thanks to AK for pointing out.
https://jira.sw.ru/browse/PSBM-60210
Signed-off-by: Maxim Patlasov <mpatlasov at virtuozzo.com>
---
include/uapi/linux/fuse.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/fuse.h b/include/uapi/linux/fuse.h
index c2c1ac9..872651b 100644
--- a/include/uapi/linux/fuse.h
+++ b/include/uapi/linux/fuse.h
@@ -751,6 +751,6 @@ struct fuse_notify_inval_files_out {
/* Device ioctls: */
#define FUSE_DEV_IOC_CLONE _IOR(229, 0, uint32_t)
-#define FUSE_DEV_IOC_SETAFF _IOR(229, 1, uint32_t)
+#define FUSE_DEV_IOC_SETAFF _IO(229, 1)
#endif /* _LINUX_FUSE_H */
More information about the Devel
mailing list