From ec702b9bb3f241527bf760a4a251aa9111f68104 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 17 Nov 2016 15:45:05 -0800 Subject: [PATCH] Update the data_version ioctl to return the u64 We updated the code to use the new iteration of the data_version ioctl but we forgot to update the ioctl definition so it didn't actually work. Signed-off-by: Zach Brown --- utils/src/ioctl.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/utils/src/ioctl.h b/utils/src/ioctl.h index 75e11343..94963273 100644 --- a/utils/src/ioctl.h +++ b/utils/src/ioctl.h @@ -54,13 +54,7 @@ struct scoutfs_ioctl_find_xattr { #define SCOUTFS_IOC_INODE_DATA_SINCE _IOW(SCOUTFS_IOCTL_MAGIC, 5, \ struct scoutfs_ioctl_inodes_since) -struct scoutfs_ioctl_data_version { - __u64 ino; - __u64 data_version; -} __packed; - -#define SCOUTFS_IOC_DATA_VERSION _IOW(SCOUTFS_IOCTL_MAGIC, 6, \ - struct scoutfs_ioctl_data_version) +#define SCOUTFS_IOC_DATA_VERSION _IOW(SCOUTFS_IOCTL_MAGIC, 6, u64) struct scoutfs_ioctl_release { __u64 offset;