63975f0 btrfs-progs: consolidate setting of RAID1 stripes

1 file Authored by Johannes Thumshirn 4 years ago, Committed by David Sterba 4 years ago,
1 file changed. 3 lines added. 14 lines removed.
    btrfs-progs: consolidate setting of RAID1 stripes
    
    All 3 different RAID1 profiles use the same calculation mehod for the
    number of used stripes.
    
    Now that we do table lookups fo rmost of the allocation control
    parameters, we can consolidate all 3 RAID1 profiles into a single branch
    for the calculation.
    
    Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
    Signed-off-by: David Sterba <dsterba@suse.com>
    
        
file modified
+3 -14