- /* in some recovery cases, obd_llog_ctxt might already be set,
- * but llogs might still be zero, for example in obd_filter recovery */
- if (ctxt) {
- /* mds_lov_update_mds might call here multiple times. So if the
- llog is already set up then don't to do it again. */
- CDEBUG(D_CONFIG, "obd %s ctxt %d already set up\n",
- obd->obd_name, index);
- LASSERT(ctxt->loc_olg == olg);
- LASSERT(ctxt->loc_obd == obd);
- LASSERT(ctxt->loc_exp == disk_obd->obd_self_export);
- LASSERT(ctxt->loc_logops == op);
- llog_ctxt_put(ctxt);
- GOTO(out, rc = 0);
- }