From 257a71cb24b04d5a7477b0618665ceb1e1cc149b Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Thu, 19 Dec 2013 12:08:56 +0800 Subject: [PATCH] btrfs-progs: sync-up with newly introduced ioctl number for now the manual sync up of new ioctls introduced in the btrfs kernel. For which there wasn't any btrfs-progs patch. however we might have better idea for the long run. Signed-off-by: Anand Jain Signed-off-by: David Sterba Signed-off-by: Chris Mason --- ioctl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ioctl.h b/ioctl.h index de486911..2cf9c73e 100644 --- a/ioctl.h +++ b/ioctl.h @@ -595,6 +595,12 @@ struct btrfs_ioctl_clone_range_args { struct btrfs_ioctl_get_dev_stats) #define BTRFS_IOC_DEV_REPLACE _IOWR(BTRFS_IOCTL_MAGIC, 53, \ struct btrfs_ioctl_dev_replace_args) +#define BTRFS_IOC_GET_FEATURES _IOR(BTRFS_IOCTL_MAGIC, 57, \ + struct btrfs_ioctl_feature_flags) +#define BTRFS_IOC_SET_FEATURES _IOW(BTRFS_IOCTL_MAGIC, 57, \ + struct btrfs_ioctl_feature_flags[2]) +#define BTRFS_IOC_GET_SUPPORTED_FEATURES _IOR(BTRFS_IOCTL_MAGIC, 57, \ + struct btrfs_ioctl_feature_flags[3]) #ifdef __cplusplus } #endif