[SCSI] ipr: fix addition of abort command to HRRQ free queue
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Thu, 14 Mar 2013 18:52:23 +0000 (13:52 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 6 Apr 2013 10:23:18 +0000 (11:23 +0100)
commitc4ee22a3708d54d8fb5ee8a23ca08e74abcaedfd
tree9fef869552d412bb9484c8e078c27e5f2799d46e
parent2b5bebccd282f2527d17ac90cf3ad0d486dd89d8
[SCSI] ipr: fix addition of abort command to HRRQ free queue

The abort command issued by ipr_cancel_op() is being added to the wrong
HRRQ free queue after the command returns. Fix it by using the HRRQ
pointer in the ipr command struct itself.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ipr.c