+ case OBD_IOC_LLOG_REMOVE: {
+ struct llog_ctxt *ctxt =
+ llog_get_context(obd, LLOG_CONFIG_ORIG_CTXT);
+
+#ifdef ENABLE_ORPHANS
+ obd_llog_finish(obd, mds->mds_lov_desc.ld_tgt_count);
+#endif
+ push_ctxt(&saved, &ctxt->loc_exp->exp_obd->obd_ctxt, NULL);
+ rc = llog_ioctl(ctxt, cmd, data);
+ pop_ctxt(&saved, &ctxt->loc_exp->exp_obd->obd_ctxt, NULL);
+
+#ifdef ENABLE_ORPHANS
+ llog_cat_initialize(obd, mds->mds_lov_desc.ld_tgt_count);
+#endif
+ RETURN(rc);
+ }