rc = snprintf(page, count, "not set up\n");
} else {
struct obd_device *tgt =
- class_exp2obd(cobd->u.cobd.cobd_real_exp);
+ class_exp2obd(cobd->u.cobd.master_exp);
LASSERT(tgt != NULL);
rc = snprintf(page, count, "%s\n", tgt->obd_uuid.uuid);
}
rc = snprintf(page, count, "not set up\n");
} else {
struct obd_device *cache =
- class_exp2obd(cobd->u.cobd.cobd_cache_exp);
+ class_exp2obd(cobd->u.cobd.cache_exp);
LASSERT(cache != NULL);
rc = snprintf(page, count, "%s\n", cache->obd_uuid.uuid);
}