Skip to contentSkip to conversation

btrfs-progs: sync-up with newly introduced ioctl number

PATCH New Anand Jain 1 participant 1 message Dec 19, 2013 Btrfs file system

lore
Share & tools
lore

Anand Jain

author
#0 lore raw

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.

---
 ioctl.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
ioctl.h +6 -0
index 29575d8..cd90afe 100644
@@ -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