/* Locking: must be called with the lp_mutex held  */
void __fc_linkdown(struct fc_lport *lport)
/* Locking: must be called with the lp_mutex held  */
void __fc_linkdown(struct fc_lport *lport)
{
	if (lport->link_up) {
		lport->link_up = 0;
		fc_lport_enter_reset(lport);
		lport->tt.fcp_cleanup(lport);
	}
}