mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts
The vmw_pvscsi driver returns DID_ABORT for commands aborted internally by the adapter, leading to the filesystem going read-only. Change the result to DID_BUS_BUSY, causing the kernel to retry the command. Signed-off-by: Jim Gill <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
f5957dade4
commit
f4b024271a
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ static void pvscsi_complete_request(struct pvscsi_adapter *adapter,
|
|||
break;
|
||||
|
||||
case BTSTAT_ABORTQUEUE:
|
||||
cmd->result = (DID_ABORT << 16);
|
||||
cmd->result = (DID_BUS_BUSY << 16);
|
||||
break;
|
||||
|
||||
case BTSTAT_SCSIPARITY:
|
||||
|
|
|
|||
Loading…
Reference in a new issue