struct mdd_device *mdd;
mdd = container_of0(lfsck, struct mdd_device, mdd_lfsck);
- return mdd->mdd_obd_dev->obd_name;
+ return mdd2obd_dev(mdd)->obd_name;
}
void mdd_lfsck_set_speed(struct md_lfsck *lfsck, __u32 limit)
lu_object_put(env, &obj->do_lu);
if (rc == -ENOTSUPP) {
CERROR("%s: Lustre LFSCK unsupported on this device.\n",
- mdd->mdd_obd_dev->obd_name);
+ mdd2obd_dev(mdd)->obd_name);
rc = 0;
}
return rc;