1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

vgsplit: use dm_list_next()

This commit is contained in:
Heinz Mauelshagen 2016-07-12 16:25:06 +02:00
parent 4ca55192e0
commit c32f96f277

View File

@ -46,7 +46,7 @@ static int _lv_tree_move(struct dm_list *lvh,
/* Update the list pointer refering to the item moving to @vg_to. */
if (lvh == *lvht)
*lvht = lvh->n;
*lvht = dm_list_next(lvh, lvh);
dm_list_move(&vg_to->lvs, lvh);
lv->vg = vg_to;