*/
#define DEBUG_SUBSYSTEM S_CLASS
-#include <linux/lustre_lite.h>
+#include <linux/obd_class.h>
#include <linux/lprocfs_status.h>
#ifndef LPROCFS
rc = snprintf(page, count, "not set up\n");
} else {
struct obd_device *tgt =
- class_conn2obd(&cobd->u.cobd.cobd_target);
+ 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_conn2obd(&cobd->u.cobd.cobd_cache);
+ class_exp2obd(cobd->u.cobd.cache_exp);
LASSERT(cache != NULL);
rc = snprintf(page, count, "%s\n", cache->obd_uuid.uuid);
}