diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index 507ab7e91eaa82fc91e850028a2fe2c14e2c4ea9..c6b68395056af27ea816b5da349e86c2019f3b93 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -385,27 +385,6 @@ int mds_iocontrol(unsigned int cmd, struct obd_export *exp, int len, RETURN(rc); } - case OBD_IOC_CLEAR_LOG: { - char *name = data->ioc_inlbuf1; - if (mds->mds_cfg_llh) - RETURN(-EBUSY); - - push_ctxt(&saved, &obd->obd_ctxt, NULL); - rc = llog_create(llog_get_context(obd, LLOG_CONFIG_ORIG_CTXT), - &mds->mds_cfg_llh, NULL, name); - if (rc == 0) { - llog_init_handle(mds->mds_cfg_llh, LLOG_F_IS_PLAIN, - NULL); - - rc = llog_destroy(mds->mds_cfg_llh); - llog_free_handle(mds->mds_cfg_llh); - } - pop_ctxt(&saved, &obd->obd_ctxt, NULL); - - mds->mds_cfg_llh = NULL; - RETURN(rc); - } - case OBD_IOC_DORECORD: { char *cfg_buf; struct llog_rec_hdr rec;