Whamcloud - gitweb
Branch:b1_6
authorwangdi <wangdi>
Wed, 8 Aug 2007 20:34:38 +0000 (20:34 +0000)
committerwangdi <wangdi>
Wed, 8 Aug 2007 20:34:38 +0000 (20:34 +0000)
change improper debug_level for null ctxt msg.
b=10800
i=green
i=adilger

lustre/include/lustre_log.h

index 83bfc06..b9b75e3 100644 (file)
@@ -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]);