mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
raid10: Fix new use of area multiple calc.
This commit is contained in:
parent
b896f7de1e
commit
498da2414b
@ -3803,9 +3803,9 @@ static int _lv_extend_layered_lv(struct alloc_handle *ah,
|
||||
* 'stripes' and 'stripe_size' parameters meaningless.
|
||||
*/
|
||||
if (seg_is_raid(seg)) {
|
||||
area_multiple = _calc_area_multiple(seg->segtype, seg->area_count, 0);
|
||||
stripes = 1;
|
||||
stripe_size = 0;
|
||||
area_multiple = _calc_area_multiple(seg->segtype, seg->area_count, stripes);
|
||||
}
|
||||
|
||||
for (fa = first_area, s = 0; s < seg->area_count; s++) {
|
||||
|
Loading…
Reference in New Issue
Block a user