aboutsummaryrefslogtreecommitdiffstats
path: root/ioctl.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-06-03 19:36:36 +0200
committerDavid Sterba <dsterba@suse.cz>2015-06-03 19:36:36 +0200
commit1d46539284923359ff7e767bfe529b111768c0d4 (patch)
treec0d0dff13eda5792b03a2a178247560e38157bb0 /ioctl.h
parent5910645a0ee2e272392842e44e2389a22113c93f (diff)
downloadbtrfs-progs-1d46539284923359ff7e767bfe529b111768c0d4.tar.gz
btrfs-progs-1d46539284923359ff7e767bfe529b111768c0d4.tar.xz
btrfs-progs-1d46539284923359ff7e767bfe529b111768c0d4.zip
btrfs-progs: ioctl.h: add btrfs_ioctl_feature_flags struct
Copied from uapi/linux/btrfs.h. Signed-off-by: David Sterba <dsterba@suse.cz>
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 b96bdc5..dfc4602 100644
--- 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