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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment