Skip to content
Commit e4f6c6be authored by David Sterba's avatar David Sterba
Browse files

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: default avatarDavid Sterba <dsterba@suse.com>
parent 0e56315c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment