struct obd_device *lo_obd; /* pointer to LMV itself */
};
-int lmv_mgr_setup(struct obd_device *obd);
-void lmv_mgr_cleanup(struct obd_device *obd);
+int lmv_obj_setup(struct obd_device *obd);
+void lmv_obj_cleanup(struct obd_device *obd);
static inline void
lmv_obj_lock(struct lmv_obj *obj)
spin_lock_init(&lmv->lmv_lock);
sema_init(&lmv->init_sem, 1);
- rc = lmv_mgr_setup(obd);
+ rc = lmv_obj_setup(obd);
if (rc) {
CERROR("Can't setup LMV object manager, "
"error %d.\n", rc);
fld_client_fini(&lmv->lmv_fld);
lprocfs_obd_cleanup(obd);
- lmv_mgr_cleanup(obd);
+ lmv_obj_cleanup(obd);
OBD_FREE(lmv->datas, lmv->datas_size);
OBD_FREE(lmv->tgts, lmv->tgts_size);
}
int
-lmv_mgr_setup(struct obd_device *obd)
+lmv_obj_setup(struct obd_device *obd)
{
ENTRY;
LASSERT(obd != NULL);
}
void
-lmv_mgr_cleanup(struct obd_device *obd)
+lmv_obj_cleanup(struct obd_device *obd)
{
struct list_head *cur, *tmp;
struct lmv_obj *obj;