summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-04-17 14:51:58 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2016-04-18 12:32:56 +0200
commite2ceb90095ab008c13a3d0db0bbf1bc2bd8557f2 (patch)
tree2e45d716a173356bae173d3ab565a49d15591640
parentf5cf6cc9ed756ec1e98d62a31aba803577443ad7 (diff)
downloadlvm2-e2ceb90095ab008c13a3d0db0bbf1bc2bd8557f2.tar.gz
debug: update message in libdm
When dm_tree_find_node_by_uuid() fails to find passed uuid, report in lof_debug the complete original uuid, not the one stripped of LVM- prefix. TODO: inspect manipulation with LVM- prefix here.
-rw-r--r--WHATS_NEW_DM1
-rw-r--r--libdm/libdm-deptree.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index 08d7d45df..e2301eabd 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,6 @@
Version 1.02.122 - 9th April 2016
=================================
+ Do not strip LVM- when debug reporting not found uuid.
Change log_debug ioctl flags from single characters into words.
Version 1.02.121 - 26th March 2016
diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c
index f8b6d893c..6f18ae2a8 100644
--- a/libdm/libdm-deptree.c
+++ b/libdm/libdm-deptree.c
@@ -599,7 +599,7 @@ static struct dm_tree_node *_find_dm_tree_node_by_uuid(struct dm_tree *dtree,
return node;
}
- log_debug("Not matched uuid %s in deptree.", uuid + default_uuid_prefix_len);
+ log_debug("Not matched uuid %s in deptree.", uuid);
return NULL;
}