]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] zfcp: Fix request list handling in error path
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Tue, 4 Nov 2008 15:35:08 +0000 (16:35 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 5 Nov 2008 17:46:39 +0000 (12:46 -0500)
commit3765138ae946e6e29b22bf15a9647c600c232639
tree5704fb770db648506bba7ca8e7fa2c887b4998d0
parent88f2a977870af655296a682fe2a58c822cd25bb2
[SCSI] zfcp: Fix request list handling in error path

Fix the handling of the request list in the error path:
 - Use irqsave for the lock as in the good path.
 - Before removing the request, check if it is still in the list, a
   call to dismiss_all might have changed the list in between.
 - zfcp_qdio_send does not change the queue counters on failure,
   trying revert something is wrong, so remove this.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c