btrfs-progs: sync-up with newly introduced ioctl number
PATCH 1/1 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 <[email protected]>
--- ioctl.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
ioctl.h +6 -0
@@ -623,6 +623,12 @@ struct btrfs_ioctl_clone_range_args { struct btrfs_ioctl_dedup_args)#define BTRFS_IOC_GET_FSLIST _IOWR(BTRFS_IOCTL_MAGIC, 56, \ struct btrfs_ioctl_fslist_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, 58, \ + struct btrfs_ioctl_feature_flags[2]) +#define BTRFS_IOC_GET_SUPPORTED_FEATURES _IOR(BTRFS_IOCTL_MAGIC, 59, \ + struct btrfs_ioctl_feature_flags[3]) #ifdef __cplusplus }#endif
Signature · 1 line
1.7.1