diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2007-06-14 00:12:40 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-06-17 22:53:30 +0200 |
commit | 35f51eee99efe88866476300ccb7f206e88f3394 (patch) | |
tree | 5868e28632c581a261d24ae9fcdc06bce443e9b0 /drivers/scsi/ibmvscsi | |
parent | [SCSI] ibmvscsi: Misc. locking fixes (diff) | |
download | linux-35f51eee99efe88866476300ccb7f206e88f3394.tar.xz linux-35f51eee99efe88866476300ccb7f206e88f3394.zip |
[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.c | 2 |
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) if (!found_evt) { spin_unlock_irqrestore(hostdata->host->host_lock, flags); - return FAILED; + return SUCCESS; } evt = get_event_struct(&hostdata->pool); |