btrfs: use raid_attr table in get_profile_num_devs
The dev_max constraints are defined in the raid_attr table, use it
instead of open-coding it.
Signed-off-by: NDavid Sterba <dsterba@suse.com>
Showing
想要评论请 注册 或 登录
The dev_max constraints are defined in the raid_attr table, use it
instead of open-coding it.
Signed-off-by: NDavid Sterba <dsterba@suse.com>