diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2007-06-13 17:12:40 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-06-17 15:53:30 -0500 |
commit | 35f51eee99efe88866476300ccb7f206e88f3394 (patch) | |
tree | 5868e28632c581a261d24ae9fcdc06bce443e9b0 /drivers/scsi/ibmvscsi | |
parent | 06f923cbf080e22d1ffccbf3fd2cbab0176f6025 (diff) | |
download | op-kernel-dev-35f51eee99efe88866476300ccb7f206e88f3394.zip op-kernel-dev-35f51eee99efe88866476300ccb7f206e88f3394.tar.gz |
[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 934bcad..f5da762 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); |