_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 <[email protected]> --- 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 */ _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
