btrfs: use raid_attr to get allowed profiles for balance conversion
Iterate over the table and gather all allowed profiles for a given
number of devices, instead of open coding.
Signed-off-by:
David Sterba <dsterba@suse.com>
Loading
Iterate over the table and gather all allowed profiles for a given
number of devices, instead of open coding.
Signed-off-by:
David Sterba <dsterba@suse.com>
mentioned in commit fab27359