From: Andrew Vasquez Date: Tue, 20 Sep 2005 20:32:11 +0000 (-0700) Subject: [SCSI] qla2xxx: fix remote port timeout with qla2xxx driver X-Git-Tag: v2.6.14-rc4~84^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=44550322cb601ac3f882e7438bbeec971fa1b1a3;p=linux-2.6-omap-h63xx.git [SCSI] qla2xxx: fix remote port timeout with qla2xxx driver This patch fixes a hole in the rport unblock handling when processing fabric events via the ADISC/PLOGI device state machine. Original code would not properly 'unblock' the port upon the port reloging into the fabric. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_rscn.c b/drivers/scsi/qla2xxx/qla_rscn.c index bdc3bc74bbe..1eba9882863 100644 --- a/drivers/scsi/qla2xxx/qla_rscn.c +++ b/drivers/scsi/qla2xxx/qla_rscn.c @@ -330,6 +330,8 @@ qla2x00_update_login_fcport(scsi_qla_host_t *ha, struct mbx_entry *mbxstat, fcport->flags &= ~FCF_FAILOVER_NEEDED; fcport->iodesc_idx_sent = IODESC_INVALID_INDEX; atomic_set(&fcport->state, FCS_ONLINE); + if (fcport->rport) + fc_remote_port_unblock(fcport->rport); }