aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2007-06-13 18:12:40 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-17 16:53:30 -0400
commit35f51eee99efe88866476300ccb7f206e88f3394 (patch)
tree5868e28632c581a261d24ae9fcdc06bce443e9b0 /drivers/scsi/ibmvscsi
parent06f923cbf080e22d1ffccbf3fd2cbab0176f6025 (diff)
[SCSI] ibmvscsi: Abort path fix
Since it is completely possible for scsi core to call a LLDD's eh_abort function after the command has completed, fix ibmvscsi to return SUCCESS if this is the case. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index 934bcad39b3b..f5da7620ab59 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -1018,7 +1018,7 @@ static int ibmvscsi_eh_abort_handler(struct scsi_cmnd *cmd)
1018 1018
1019 if (!found_evt) { 1019 if (!found_evt) {
1020 spin_unlock_irqrestore(hostdata->host->host_lock, flags); 1020 spin_unlock_irqrestore(hostdata->host->host_lock, flags);
1021 return FAILED; 1021 return SUCCESS;
1022 } 1022 }
1023 1023
1024 evt = get_event_struct(&hostdata->pool); 1024 evt = get_event_struct(&hostdata->pool);