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>
if (!found_evt) {
spin_unlock_irqrestore(hostdata->host->host_lock, flags);
if (!found_evt) {
spin_unlock_irqrestore(hostdata->host->host_lock, flags);
}
evt = get_event_struct(&hostdata->pool);
}
evt = get_event_struct(&hostdata->pool);