commit | 081db89b13cb26f9ef1f5b1752f7fcb775191cbe | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri May 17 11:43:27 2019 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Jul 01 13:34:56 2019 +0200 |
tree | 219e167b6ea01081d5e2e333c35ef0a1497e4e83 | |
parent | fc9a2ac77c05ba060dcfb084a752aa3ee37f9e2a [diff] |
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>