From ba4052c6d44c5fd9726d6bd2bcaf8fa9e7b05a0c Mon Sep 17 00:00:00 2001 From: wangdi Date: Sun, 21 Aug 2005 06:32:18 +0000 Subject: [PATCH] Branch: HEAD comment out llog_init in lmv_add_mdc, because we already do llog_init in mdc_setup --- lustre/lmv/lmv_obd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index eda7df2..566605e 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -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; -- 1.8.3.1