diff options
author | James.Smart@Emulex.Com <James.Smart@Emulex.Com> | 2005-11-28 11:42:05 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-13 20:26:47 -0500 |
commit | 6175c02a0b12f92c03b56c756c4f1e131ae1456c (patch) | |
tree | cee1a84d2c98d52456ceffc3d5d64eadc024266b /drivers/scsi/lpfc/lpfc_init.c | |
parent | 63c59c3b8ff444b771a245f59935c0202ece963b (diff) |
[SCSI] lpfc 8.1.1 : Fixes to error handlers
- Release task management command before counting outstanding commands.
TMF was being erroneously counted as an active outstanding command.
- Serialize EH calls and block requests when EH function is running.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 4d4e217edd8..dfd59d21ec4 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -1345,7 +1345,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid) | |||
1345 | goto out_put_host; | 1345 | goto out_put_host; |
1346 | 1346 | ||
1347 | host->unique_id = phba->brd_no; | 1347 | host->unique_id = phba->brd_no; |
1348 | 1348 | init_MUTEX(&phba->hba_can_block); | |
1349 | INIT_LIST_HEAD(&phba->ctrspbuflist); | 1349 | INIT_LIST_HEAD(&phba->ctrspbuflist); |
1350 | INIT_LIST_HEAD(&phba->rnidrspbuflist); | 1350 | INIT_LIST_HEAD(&phba->rnidrspbuflist); |
1351 | INIT_LIST_HEAD(&phba->freebufList); | 1351 | INIT_LIST_HEAD(&phba->freebufList); |