]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] zfcp: Fix abort handler for completions in progress
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Fri, 17 Apr 2009 13:08:11 +0000 (15:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:07:33 +0000 (10:07 -0500)
commitc6936e7f34383db2f5038dfa2f0c168ebc2920e5
treecbdc7a3ab0707112b6e21b51b25a0f8a8d1c59de
parent5b43e719308143ac02e6f4ee24132f8acad99ea7
[SCSI] zfcp: Fix abort handler for completions in progress

When the abort handler cannot find a pending FSF request, the request
completion could just be running. This means we cannot return SUCCESS,
since this would lead to call to scsi_done after exiting the SCSI
error handler which is not allowed.

Reviewed-by: Martin Petermann <martin@linux.vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_scsi.c