You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
599 B
16 lines
599 B
lib/metadata/lv_manip.c | 2 ++ |
|
1 file changed, 2 insertions(+) |
|
|
|
diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c |
|
index 9af90f9..6db8575 100644 |
|
--- a/lib/metadata/lv_manip.c |
|
+++ b/lib/metadata/lv_manip.c |
|
@@ -5446,6 +5446,8 @@ static struct logical_volume *_lvresize_setup_aux(struct logical_volume *lv, |
|
struct lv_segment *mseg = last_seg(lv); |
|
|
|
lp->alloc = lv->alloc; |
|
+ lp->percent = PERCENT_NONE; |
|
+ lp->segtype = mseg->segtype; |
|
lp->mirrors = seg_is_mirrored(mseg) ? lv_mirror_count(lv) : 0; |
|
lp->resizefs = 0; |
|
lp->stripes = lp->mirrors ? mseg->area_count / lp->mirrors : 0;
|
|
|