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 <zab@versity.com>
This commit is contained in:
Zach Brown
2016-11-17 15:45:05 -08:00
parent c3f122a5f1
commit ec702b9bb3

View File

@@ -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;