Whamcloud - gitweb
Branch: HEAD
authorwangdi <wangdi>
Sun, 21 Aug 2005 06:32:18 +0000 (06:32 +0000)
committerwangdi <wangdi>
Sun, 21 Aug 2005 06:32:18 +0000 (06:32 +0000)
comment out llog_init in lmv_add_mdc, because we already do llog_init in mdc_setup

lustre/lmv/lmv_obd.c

index eda7df2..566605e 100644 (file)
@@ -440,7 +440,7 @@ int lmv_add_mdc(struct obd_device *obd, struct obd_uuid *mdc_uuid)
                        mdc_uuid->uuid, LMV_MAX_TGT_COUNT);
                 RETURN(-EINVAL);
         }
-
+#if 0
         if (lmv->desc.ld_tgt_count == 0) {
                 struct obd_device *mdc_obd;
 
@@ -458,7 +458,7 @@ int lmv_add_mdc(struct obd_device *obd, struct obd_uuid *mdc_uuid)
                         CERROR("lmv failed to setup llogging subsystems\n");
                 }
         }
-
+#endif
         spin_lock(&lmv->lmv_lock);
         tgt = lmv->tgts + lmv->desc.ld_tgt_count++;
         tgt->uuid = *mdc_uuid;