1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-29 15:22:30 +03:00

debug: update debug msg

Use _node_name.
This commit is contained in:
Zdenek Kabelac 2017-12-07 17:54:41 +01:00
parent 717714b24f
commit 4c88c4626d

View File

@ -2786,9 +2786,9 @@ static int _dm_tree_revert_activated(struct dm_tree_node *parent)
struct dm_tree_node *child; struct dm_tree_node *child;
dm_list_iterate_items_gen(child, &parent->activated, activated_list) { 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) { 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; child->callback = NULL;
} }
if (!_deactivate_node(child->name, child->info.major, child->info.minor, if (!_deactivate_node(child->name, child->info.major, child->info.minor,