Whamcloud - gitweb
LU-1267 lfsck: enhance RPCs (1) for MDT-OST consistency
[fs/lustre-release.git] / lustre / mdd / mdd_device.c
index 3a90cff..11f1a82 100644 (file)
@@ -1412,11 +1412,8 @@ static int mdd_iocontrol(const struct lu_env *env, struct md_device *m,
                RETURN(rc);
        }
        case OBD_IOC_STOP_LFSCK: {
-               rc = lfsck_stop(env, mdd->mdd_bottom, false);
-               RETURN(rc);
-       }
-       case OBD_IOC_PAUSE_LFSCK: {
-               rc = lfsck_stop(env, mdd->mdd_bottom, true);
+               rc = lfsck_stop(env, mdd->mdd_bottom,
+                               (struct lfsck_stop *)karg);
                RETURN(rc);
        }
         }