Skip to contentSkip to conversation

master - debug: update debug msg

PATCH Zdenek Kabelac 1 participant 1 message Dec 7, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=4c88c4626d9870d4fa146f7596a37853cf965a39
Commit:        4c88c4626d9870d4fa146f7596a37853cf965a39
Parent:        717714b24ffbf648a1b22e9306484944a514c565
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Dec 7 17:54:41 2017 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Dec 7 21:00:39 2017 +0100

debug: update debug msg

Use _node_name.

---
 libdm/libdm-deptree.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
libdm/libdm-deptree.c +2 -2
index 6ba20a4..98dda44 100644
@@ -2786,9 +2786,9 @@ static int _dm_tree_revert_activated(struct dm_tree_node *parent)
 	struct dm_tree_node *child;
 
 	dm_list_iterate_items_gen(child, &parent->activated, activated_list) {
-		log_debug_activation("Reverting %s.", child->name);
+		log_debug_activation("Reverting %s.", _node_name(child));
 		if (child->callback) {
-			log_debug_activation("Dropping callback for %s.", child->name);
+			log_debug_activation("Dropping callback for %s.", _node_name(child));
 			child->callback = NULL;
 		}
 		if (!_deactivate_node(child->name, child->info.major, child->info.minor,