mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
fc9a2ac77c
commit
081db89b13
1 changed files with 5 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue