Whamcloud - gitweb
LU-7659 mdc: expose changelog through char devices
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index 74166fb..5be99ee 100644 (file)
@@ -985,19 +985,6 @@ static int lmv_iocontrol(unsigned int cmd, struct obd_export *exp,
                 OBD_FREE_PTR(oqctl);
                 break;
         }
-        case OBD_IOC_CHANGELOG_SEND:
-        case OBD_IOC_CHANGELOG_CLEAR: {
-                struct ioc_changelog *icc = karg;
-
-                if (icc->icc_mdtindex >= count)
-                        RETURN(-ENODEV);
-
-               tgt = lmv->tgts[icc->icc_mdtindex];
-               if (tgt == NULL || tgt->ltd_exp == NULL || !tgt->ltd_active)
-                       RETURN(-ENODEV);
-               rc = obd_iocontrol(cmd, tgt->ltd_exp, sizeof(*icc), icc, NULL);
-               break;
-       }
        case LL_IOC_GET_CONNECT_FLAGS: {
                tgt = lmv->tgts[0];
                if (tgt == NULL || tgt->ltd_exp == NULL)