]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: move definition of btrfs_raid_types to volumes.h
authorQu Wenruo <wqu@suse.com>
Wed, 20 Apr 2022 08:08:27 +0000 (16:08 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:16 +0000 (17:03 +0200)
commitf04fbcc64e4be16185151f9fca44ea1b3d074bd0
tree91dcb3241e17bc3e91d81077718ced127c489f8b
parent385de0ef387dc7f33fc5b828136cbc9516b3ec1a
btrfs: move definition of btrfs_raid_types to volumes.h

It's only internally used as another way to represent btrfs profiles,
it's not exposed through any on-disk format, in fact this
btrfs_raid_types is diverted from the on-disk format values.

Furthermore, since it's internal structure, its definition can change in
the future.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.h
fs/btrfs/volumes.h
include/uapi/linux/btrfs_tree.h