From: wangdi Date: Wed, 8 Aug 2007 20:34:38 +0000 (+0000) Subject: Branch:b1_6 X-Git-Tag: v1_8_0_110~1368 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=670ca819517ac2797ee8bc7f899509582bab7120;p=fs%2Flustre-release.git Branch:b1_6 change improper debug_level for null ctxt msg. b=10800 i=green i=adilger --- diff --git a/lustre/include/lustre_log.h b/lustre/include/lustre_log.h index 83bfc06..b9b75e3 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]);