Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0007277
)
Branch: HEAD
author
wangdi
<wangdi>
Sun, 21 Aug 2005 06:32:18 +0000
(06:32 +0000)
committer
wangdi
<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
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
eda7df2
..
566605e
100644
(file)
--- 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;