mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
vgsplit: use dm_list_next()
This commit is contained in:
parent
4ca55192e0
commit
c32f96f277
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user