* Lustre is a trademark of Sun Microsystems, Inc.
*/
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
#define DEBUG_SUBSYSTEM S_LOV
#ifdef __KERNEL__
if (stripe >= lsm->lsm_stripe_count) {
req->rq_idx = ost_idx;
- rc = obd_create(lov->lov_tgts[ost_idx]->ltd_exp,
+ rc = obd_create(NULL, lov->lov_tgts[ost_idx]->ltd_exp,
req->rq_oi.oi_oa, &req->rq_oi.oi_md,
oti);
}
if (!set)
GOTO(out_failed, rc = -ENOMEM);
- rc = obd_statfs_async(obd, oinfo, max_age, set);
+ rc = obd_statfs_async(obd->obd_self_export, oinfo, max_age, set);
if (rc || cfs_list_empty(&set->set_requests)) {
if (rc)
CWARN("statfs failed with %d\n", rc);