]> git.baikalelectronics.ru Git - kernel.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)
commit5dc386e8db548726a49c8663d1a614638f2d0ad6
tree91dcb3241e17bc3e91d81077718ced127c489f8b
parent7e880fe92e01d025b2e31a4903b1baf1a65b6d9d
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