From: huanghua Date: Tue, 11 Apr 2006 04:26:50 +0000 (+0000) Subject: msg_llog.c: modify a debug message. X-Git-Tag: v1_8_0_110~486^2~2060 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=033c3b3bc9a2a0c09605df7dfe286259f568b177;p=fs%2Flustre-release.git msg_llog.c: modify a debug message. cmm_object.c:cmm_object_alloc: call lu_object_init to initialize it. --- diff --git a/lustre/cmm/cmm_object.c b/lustre/cmm/cmm_object.c index 58041b0..22d8431 100644 --- a/lustre/cmm/cmm_object.c +++ b/lustre/cmm/cmm_object.c @@ -58,6 +58,7 @@ struct lu_object *cmm_object_alloc(struct lu_device *d) if (mo != NULL) { struct lu_object *o; o = &mo->cmo_obj.mo_lu; + lu_object_init(o, NULL, d); return o; } else return NULL; diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index 1eef67f..3908ff4 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -1026,7 +1026,7 @@ static int mgs_steal_llog_for_mdt_from_client(struct obd_device *obd, GOTO(out_close, rc); rc = llog_process(loghandle, mgs_steal_llog_handler, (void *)comp, NULL); - CDEBUG(D_MGS, "get_db = %d\n", rc); + CDEBUG(D_MGS, "steal llog re = %d\n", rc); out_close: rc2 = llog_close(loghandle); if (!rc)