mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Remove thin code from mirror/raid lv_extend
This commit is contained in:
parent
2fa836e843
commit
dd3bb2bac3
@ -2596,13 +2596,6 @@ int lv_extend(struct logical_volume *lv,
|
|||||||
|
|
||||||
if (!(r = _lv_extend_layered_lv(ah, lv, extents, 0,
|
if (!(r = _lv_extend_layered_lv(ah, lv, extents, 0,
|
||||||
stripes, stripe_size)))
|
stripes, stripe_size)))
|
||||||
goto out;
|
|
||||||
|
|
||||||
if (segtype_is_thin_pool(segtype) &&
|
|
||||||
!(r = lv_add_segment(ah, ah->area_count, 1,
|
|
||||||
first_seg(lv)->pool_metadata_lv,
|
|
||||||
get_segtype_from_string(lv->vg->cmd,
|
|
||||||
"striped"), 0, 0, 0)))
|
|
||||||
goto_out;
|
goto_out;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user