diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 2ff4342ae362..a9ceb39751a1 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -1547,6 +1547,10 @@ qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport) | |||
1547 | *((fc_port_t **)rport->dd_data) = NULL; | 1547 | *((fc_port_t **)rport->dd_data) = NULL; |
1548 | spin_unlock_irq(host->host_lock); | 1548 | spin_unlock_irq(host->host_lock); |
1549 | 1549 | ||
1550 | /* Now that the rport has been deleted, set the fcport state to | ||
1551 | FCS_DEVICE_DEAD */ | ||
1552 | atomic_set(&fcport->state, FCS_DEVICE_DEAD); | ||
1553 | |||
1550 | if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) | 1554 | if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) |
1551 | return; | 1555 | return; |
1552 | 1556 | ||