Skip to contentSkip to conversation

dev-mornfall-activate - thin: fix cut&paste bug

PATCH Petr Rockai 1 participant 1 message Jun 4, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=78a42bac157edba2b68bdfd77ea5c3096845aceb
Commit:        78a42bac157edba2b68bdfd77ea5c3096845aceb
Parent:        24f8daa13d82869fbe088f7edf3c95c11660b186
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Apr 19 21:03:38 2013 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sun Apr 21 23:07:00 2013 +0200

thin: fix cut&paste bug

Use proper external_lv.
(In release fix)

---
 lib/display/display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/display/display.c +1 -1
index c766674..26bc384 100644
@@ -595,7 +595,7 @@ int lvdisplay_full(struct cmd_context *cmd,
 				  seg->origin->name);
 		if (seg->external_lv)
 			log_print("LV External origin name %s",
-				  seg->origin->name);
+				  seg->external_lv->name);
 		if (inkernel)
 			thin_active = lv_thin_percent(lv, 0, &thin_percent);
 	} else if (lv_is_thin_pool(lv)) {