Skip to contentSkip to conversation

master - activation: change log_error to log_warn if refresh before autoactivation fails

PATCH Peter Rajnoha 1 participant 1 message Nov 27, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=120df5561088f4a5277716117339d9212b666214
Commit:        120df5561088f4a5277716117339d9212b666214
Parent:        d6e67b850365864bba91619a40503ff0b0392e2c
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Wed Nov 27 08:53:26 2013 +0100
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Wed Nov 27 08:53:26 2013 +0100

activation: change log_error to log_warn if refresh before autoactivation fails

---
 tools/pvscan.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/pvscan.c +1 -1
index 981a9c2..4f99f45 100644
@@ -148,7 +148,7 @@ static int _auto_activation_handler(struct cmd_context *cmd,
 	}
 
 	if (!refresh_done)
-		log_error("%s: refresh before autoactivation failed.", vg->name);
+		log_warn("%s: refresh before autoactivation failed.", vg->name);
 
 	if (!vgchange_activate(vg->cmd, vg, activate)) {
 		log_error("%s: autoactivation failed.", vg->name);