exp->exp_connecting = 1;
cfs_spin_unlock(&exp->exp_lock);
- /* self-export doesn't need client data and ldlm initialization */
- if (unlikely(exp == exp->exp_obd->obd_self_export))
- return 0;
return ldlm_init_export(exp);
}
target_destroy_export(exp);
mgs_client_free(exp);
-
- if (unlikely(exp == exp->exp_obd->obd_self_export))
- RETURN(0);
-
ldlm_destroy_export(exp);
RETURN(0);