summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/btrfs_tree.h
diff options
context:
space:
mode:
authorAnand Jain2018-01-09 02:05:41 +0100
committerDavid Sterba2018-01-22 16:08:21 +0100
commite2731e55884f2138a252b0a3d7b24d57e49c3c59 (patch)
tree2bce22f9796eaef92de34d37f84b35a38201af5b /include/uapi/linux/btrfs_tree.h
parentBtrfs: avoid losing data raid profile when deleting a device (diff)
downloadkernel-qcow2-linux-e2731e55884f2138a252b0a3d7b24d57e49c3c59.tar.gz
kernel-qcow2-linux-e2731e55884f2138a252b0a3d7b24d57e49c3c59.tar.xz
kernel-qcow2-linux-e2731e55884f2138a252b0a3d7b24d57e49c3c59.zip
btrfs: define SUPER_FLAG_METADUMP_V2
btrfs-progs uses super flag bit BTRFS_SUPER_FLAG_METADUMP_V2 (1ULL << 34). So just define that in kernel so that we know its been used. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/uapi/linux/btrfs_tree.h')
-rw-r--r--include/uapi/linux/btrfs_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/btrfs_tree.h b/include/uapi/linux/btrfs_tree.h
index 6d6e5da51527..38ab0e06259a 100644
--- a/include/uapi/linux/btrfs_tree.h
+++ b/include/uapi/linux/btrfs_tree.h
@@ -456,6 +456,7 @@ struct btrfs_free_space_header {
#define BTRFS_SUPER_FLAG_SEEDING (1ULL << 32)
#define BTRFS_SUPER_FLAG_METADUMP (1ULL << 33)
+#define BTRFS_SUPER_FLAG_METADUMP_V2 (1ULL << 34)
/*