btrfs: use raid_attr table in calc_stripe_length for nparity
The table is already used for ncopies, replace open coding of stripes
with the raid_attr value.
Signed-off-by: NDavid Sterba <dsterba@suse.com>
Showing
想要评论请 注册 或 登录
The table is already used for ncopies, replace open coding of stripes
with the raid_attr value.
Signed-off-by: NDavid Sterba <dsterba@suse.com>