summaryrefslogtreecommitdiff
path: root/ioctl.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-12-19 12:08:56 +0800
committerChris Mason <clm@fb.com>2014-01-31 08:22:24 -0800
commit257a71cb24b04d5a7477b0618665ceb1e1cc149b (patch)
tree9acacbffe8c023eec7d105ddde5dfbfed99f965a /ioctl.h
parent147114581d2b301ea6bc86b22696656b50770dd7 (diff)
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 <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'ioctl.h')
-rw-r--r--ioctl.h6
1 files changed, 6 insertions, 0 deletions
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