Skip to contentSkip to conversation

master - activation: Add LV name to a debug message.

PATCH Alasdair Kergon 1 participant 1 message Apr 14, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ff09bda7d585bbf743048965142e5b0ec881b896
Commit:        ff09bda7d585bbf743048965142e5b0ec881b896
Parent:        f0179fac315b630aa4c475d2441dd3b5b12f0c6d
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Thu Apr 14 22:41:25 2016 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Thu Apr 14 22:41:25 2016 +0100

activation: Add LV name to a debug message.

---
 lib/activate/activate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/activate/activate.c +1 -1
index ca82518..8e6ee33 100644
@@ -2309,7 +2309,7 @@ static int _lv_activate(struct cmd_context *cmd, const char *lvid_s,
 	if (info.exists && !info.suspended && info.live_table &&
 	    (info.read_only == read_only_lv(lv, laopts))) {
 		r = 1;
-		log_debug_activation("Volume is already active.");
+		log_debug_activation("LV %s is already active.", display_lvname(lv));
 		goto out;
 	}