LASSERT(lcd);
info->mti_exp = lexp;
memcpy(lcd->lcd_uuid, cluuid, sizeof lcd->lcd_uuid);
- rc = lut_client_new(env, lexp);
+ rc = tgt_client_new(env, lexp);
if (rc == 0)
mdt_export_stats_init(obd, lexp, localdata);
}
/* cleanup client slot early */
/* Do not erase record for recoverable client. */
if (!(exp->exp_flags & OBD_OPT_FAILOVER) || exp->exp_failed)
- lut_client_del(&env, exp);
+ tgt_client_del(&env, exp);
lu_env_fini(&env);
RETURN(rc);
&exp->exp_client_uuid)))
RETURN(0);
- rc = lut_client_alloc(exp);
+ rc = tgt_client_alloc(exp);
if (rc)
GOTO(err, rc);
RETURN(rc);
err_free:
- lut_client_free(exp);
+ tgt_client_free(exp);
err:
CERROR("%s: Failed to initialize export: rc = %d\n",
exp->exp_obd->obd_name, rc);
RETURN(0);
ldlm_destroy_export(exp);
- lut_client_free(exp);
+ tgt_client_free(exp);
LASSERT(cfs_list_empty(&exp->exp_outstanding_replies));
LASSERT(cfs_list_empty(&exp->exp_mdt_data.med_open_head));