Whamcloud - gitweb
- initialize values in mdt_thread_info
authortappro <tappro>
Mon, 16 Oct 2006 06:38:06 +0000 (06:38 +0000)
committertappro <tappro>
Mon, 16 Oct 2006 06:38:06 +0000 (06:38 +0000)
- change log level for debug message

lustre/mdt/mdt_handler.c
lustre/mgs/mgs_llog.c

index 0aee01d..2a609a0 100644 (file)
@@ -1753,6 +1753,10 @@ static void mdt_thread_info_init(struct ptlrpc_request *req,
         memset(&info->mti_attr, 0, sizeof info->mti_attr);
         info->mti_has_trans = 0;
         info->mti_no_need_trans = 0;
+
+        info->mti_object = NULL;
+        info->mti_dlm_req = NULL;
+        info->mti_body = NULL;
 }
 
 static void mdt_thread_info_fini(struct mdt_thread_info *info)
index 4d39944..656e7e9 100644 (file)
@@ -1504,7 +1504,7 @@ static int mgs_write_log_osc_to_lov(struct obd_device *obd, struct fs_db *fsdb,
         int i, rc;
 
         ENTRY;
-        CERROR("adding osc for %s to log %s\n",
+        CWARN("adding osc for %s to log %s\n",
                mti->mti_svname, logname);
         
         if (mgs_log_is_empty(obd, logname)) {