master - raid10: Fix new use of area multiple calc.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=498da2414b90098eb78cdd8c87bda7b022240fda Commit: 498da2414b90098eb78cdd8c87bda7b022240fda Parent: b896f7de1e6773ce6c17bf29a9123276695f4b60 Author: Alasdair G Kergon <[email protected]> AuthorDate: Tue May 24 00:41:09 2016 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Tue May 24 00:41:09 2016 +0100
raid10: Fix new use of area multiple calc.
--- lib/metadata/lv_manip.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/lv_manip.c +1 -1
@@ -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++) {