btrfs-progs: ioctl.h: add btrfs_ioctl_feature_flags struct
authorDavid Sterba <dsterba@suse.cz>
Wed, 3 Jun 2015 17:36:36 +0000 (19:36 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 3 Jun 2015 17:36:36 +0000 (19:36 +0200)
Copied from uapi/linux/btrfs.h.

Signed-off-by: David Sterba <dsterba@suse.cz>
ioctl.h

diff --git a/ioctl.h b/ioctl.h
index b96bdc5..dfc4602 100644 (file)
--- a/ioctl.h
+++ b/ioctl.h
@@ -200,6 +200,12 @@ struct btrfs_ioctl_fs_info_args {
        __u64 reserved[122];                    /* pad to 1k */
 };
 
+struct btrfs_ioctl_feature_flags {
+       __u64 compat_flags;
+       __u64 compat_ro_flags;
+       __u64 incompat_flags;
+};
+
 /* balance control ioctl modes */
 #define BTRFS_BALANCE_CTL_PAUSE                1
 #define BTRFS_BALANCE_CTL_CANCEL       2