GOTO(out_type, rc = -EINVAL);
}
ldt->ldt_obd_type = type;
d = ldt->ldt_ops->ldto_device_alloc(env, ldt, cfg);
if (IS_ERR(d)) {
GOTO(out_type, rc = -EINVAL);
}
ldt->ldt_obd_type = type;
d = ldt->ldt_ops->ldto_device_alloc(env, ldt, cfg);
if (IS_ERR(d)) {