mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-03 18:29:36 +00:00
[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>
This commit is contained in:
parent
06f923cbf0
commit
35f51eee99
1 changed files with 1 additions and 1 deletions
|
@ -1018,7 +1018,7 @@ static int ibmvscsi_eh_abort_handler(struct scsi_cmnd *cmd)
|
||||||
|
|
||||||
if (!found_evt) {
|
if (!found_evt) {
|
||||||
spin_unlock_irqrestore(hostdata->host->host_lock, flags);
|
spin_unlock_irqrestore(hostdata->host->host_lock, flags);
|
||||||
return FAILED;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
evt = get_event_struct(&hostdata->pool);
|
evt = get_event_struct(&hostdata->pool);
|
||||||
|
|
Loading…
Reference in a new issue