/* Locking Note: This functions should not be called with the lport lock held.  */
int fc_lport_reset(struct fc_lport *lport)
/* Locking Note: This functions should not be called with the lport lock held.  */
int fc_lport_reset(struct fc_lport *lport)
{
	cancel_delayed_work_sync(&lport->retry_work);
	mutex_lock(&lport->lp_mutex);
	fc_lport_enter_reset(lport);
	mutex_unlock(&lport->lp_mutex);
	return 0;
}