- }
- case OBD_IOC_LLOG_CHECK:
- case OBD_IOC_LLOG_CANCEL:
- case OBD_IOC_LLOG_REMOVE: {
- struct llog_ctxt *ctxt =
- llog_get_context(&obd->obd_llogs, LLOG_CONFIG_ORIG_CTXT);
- int rc2, valsize;
- __u32 group;
-
- obd_llog_finish(obd, &obd->obd_llogs,
- mds->mds_dt_desc.ld_tgt_count);
- push_ctxt(&saved, ctxt->loc_lvfs_ctxt, NULL);
- rc = llog_ioctl(ctxt, cmd, data);
- pop_ctxt(&saved, ctxt->loc_lvfs_ctxt, NULL);
- obd_llog_cat_initialize(obd, &obd->obd_llogs,
- mds->mds_dt_desc.ld_tgt_count,
- CATLIST);
- group = FILTER_GROUP_FIRST_MDS + mds->mds_num;
- valsize = sizeof(group);
- rc2 = obd_set_info(mds->mds_dt_exp, strlen("mds_conn"),
- "mds_conn", valsize, &group);
- if (!rc)
- rc = rc2;
- RETURN(rc);
- }
- case OBD_IOC_LLOG_INFO:
- case OBD_IOC_LLOG_PRINT: {
- struct llog_ctxt *ctxt =
- llog_get_context(&obd->obd_llogs, LLOG_CONFIG_ORIG_CTXT);