From 670ca819517ac2797ee8bc7f899509582bab7120 Mon Sep 17 00:00:00 2001 From: wangdi <wangdi> Date: Wed, 8 Aug 2007 20:34:38 +0000 Subject: [PATCH] Branch:b1_6 change improper debug_level for null ctxt msg. b=10800 i=green i=adilger --- lustre/include/lustre_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/lustre_log.h b/lustre/include/lustre_log.h index 83bfc064e3..b9b75e3985 100644 --- a/lustre/include/lustre_log.h +++ b/lustre/include/lustre_log.h @@ -302,7 +302,7 @@ static inline struct llog_ctxt *llog_get_context(struct obd_device *obd, spin_lock(&obd->obd_dev_lock); if (obd->obd_llog_ctxt[index] == NULL) { spin_unlock(&obd->obd_dev_lock); - CWARN("obd %p and ctxt index %d is NULL \n", obd, index); + CDEBUG(D_INFO, "obd %p and ctxt index %d is NULL \n", obd, index); return NULL; } ctxt = llog_ctxt_get(obd->obd_llog_ctxt[index]); -- GitLab