summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorGiridhar Malavali <giridhar.malavali@qlogic.com>2011-11-18 18:02:12 +0100
committerJames Bottomley <JBottomley@Parallels.com>2011-12-12 09:34:17 +0100
commit0cd33fcfb54f2eb053ead3cca35ad9775fc01301 (patch)
tree1b0335eb77e56a2f9ab739372d8b185b39b56f83 /drivers/scsi/qla2xxx
parent[SCSI] qla2xxx: Don't call alloc_fw_dump for ISP82XX. (diff)
downloadlinux-0cd33fcfb54f2eb053ead3cca35ad9775fc01301.tar.xz
linux-0cd33fcfb54f2eb053ead3cca35ad9775fc01301.zip
[SCSI] qla2xxx: Revert back the request queue mapping to request queue 0.
If there is an error creating multiple response queues then we need to revert the request queue mapping back to request queue 0. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 93673d3094e8..01c87004b219 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -423,6 +423,7 @@ fail2:
qla25xx_delete_queues(vha);
destroy_workqueue(ha->wq);
ha->wq = NULL;
+ vha->req = ha->req_q_map[0];
fail:
ha->mqenable = 0;
kfree(ha->req_q_map);