* master - vgsplit: use dm_list_next()
@ 2016-07-12 14:25 Heinz Mauelshagen
0 siblings, 0 replies; only message in thread
From: Heinz Mauelshagen @ 2016-07-12 14:25 UTC (permalink / raw)
To: lvm-devel
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c32f96f277ae1a36509c15b411939f779580b264
Commit: c32f96f277ae1a36509c15b411939f779580b264
Parent: 4ca55192e0347c0c5124f7f2d8c1c30aa4d57a43
Author: Heinz Mauelshagen <heinzm@redhat.com>
AuthorDate: Tue Jul 12 16:25:06 2016 +0200
Committer: Heinz Mauelshagen <heinzm@redhat.com>
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(-)
diff --git a/tools/vgsplit.c b/tools/vgsplit.c
index 806dafe..909a786 100644
--- a/tools/vgsplit.c
+++ b/tools/vgsplit.c
@@ -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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-12 14:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 14:25 master - vgsplit: use dm_list_next() Heinz Mauelshagen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.