master - vgsplit: use dm_list_next()
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c32f96f277ae1a36509c15b411939f779580b264 Commit: c32f96f277ae1a36509c15b411939f779580b264 Parent: 4ca55192e0347c0c5124f7f2d8c1c30aa4d57a43 Author: Heinz Mauelshagen <[email protected]> AuthorDate: Tue Jul 12 16:25:06 2016 +0200 Committer: Heinz Mauelshagen <[email protected]> CommitterDate: Tue Jul 12 16:25:12 2016 +0200
vgsplit: use dm_list_next()
--- tools/vgsplit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/vgsplit.c +1 -1
@@ -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;