/* Returns 0 if recovery has been triggered, < 0 if not.  */
int zfcp_erp_port_reopen(struct zfcp_port *port, int clear, char *id, void *ref)
/* Returns 0 if recovery has been triggered, < 0 if not.  */
int zfcp_erp_port_reopen(struct zfcp_port *port, int clear, char *id, void *ref)
{
	int retval;
	unsigned long flags;
	struct zfcp_adapter *adapter = port->adapter;
	write_lock_irqsave(&adapter->erp_lock, flags);
	retval = _zfcp_erp_port_reopen(port, clear, id, ref);
	write_unlock_irqrestore(&adapter->erp_lock, flags);
	return retval;
}