[Devel,vz7,vz7.29.6-mfuse] fuse: ioctl(FUSE_DEV_IOC_SETAFF): fix ioctl number

Submitted by Maxim Patlasov on March 29, 2017, 9:07 p.m.

Details

Message ID 149082161220.9550.15425209314882360437.stgit@maxim-thinkpad
State New
Series "fuse: ioctl(FUSE_DEV_IOC_SETAFF): fix ioctl number"
Headers show

Commit Message

Maxim Patlasov March 29, 2017, 9:07 p.m.
_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@virtuozzo.com>
---
 include/uapi/linux/fuse.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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 */