1
0
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:
Zdenek Kabelac 2011-10-28 20:18:32 +00:00
parent 2fa836e843
commit dd3bb2bac3

View File

@ -2596,13 +2596,6 @@ int lv_extend(struct logical_volume *lv,
if (!(r = _lv_extend_layered_lv(ah, lv, extents, 0,
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;
/*