[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>
此提交包含在:
Brian King
2007-06-13 17:12:40 -05:00
提交者 James Bottomley
父節點 06f923cbf0
當前提交 35f51eee99

查看文件

@@ -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);