Whamcloud - gitweb
msg_llog.c: modify a debug message.
authorhuanghua <huanghua>
Tue, 11 Apr 2006 04:26:50 +0000 (04:26 +0000)
committerhuanghua <huanghua>
Tue, 11 Apr 2006 04:26:50 +0000 (04:26 +0000)
cmm_object.c:cmm_object_alloc: call lu_object_init to initialize it.

lustre/cmm/cmm_object.c
lustre/mgs/mgs_llog.c

index 58041b0..22d8431 100644 (file)
@@ -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;
index 1eef67f..3908ff4 100644 (file)
@@ -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)