From 4da3d476014a0fad006f5f5e592a42ff23c7887b Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 6 Jan 2021 09:22:43 -0800 Subject: [PATCH] Move ALLOC_DETAIL ioctl definition By convention we have the _IO* ioctl definition after the argument structs and ALLOC_DETAIL got it a bit wrong so move it down. Signed-off-by: Zach Brown --- kmod/src/ioctl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kmod/src/ioctl.h b/kmod/src/ioctl.h index 081baa3e..fdb7fb62 100644 --- a/kmod/src/ioctl.h +++ b/kmod/src/ioctl.h @@ -395,9 +395,6 @@ struct scoutfs_ioctl_data_wait_err { struct scoutfs_ioctl_data_wait_err) -#define SCOUTFS_IOC_ALLOC_DETAIL _IOR(SCOUTFS_IOCTL_MAGIC, 12, \ - struct scoutfs_ioctl_alloc_detail) - struct scoutfs_ioctl_alloc_detail { __u64 entries_ptr; __u64 entries_nr; @@ -413,4 +410,7 @@ struct scoutfs_ioctl_alloc_detail_entry { __u8 __pad[6]; }; +#define SCOUTFS_IOC_ALLOC_DETAIL _IOR(SCOUTFS_IOCTL_MAGIC, 12, \ + struct scoutfs_ioctl_alloc_detail) + #endif