diff options
author | Hannes Reinecke <[email protected]> | 2014-05-08 08:09:56 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-05-19 12:35:11 +0200 |
commit | ac61d19559349e205dad7b5122b281419aa74a82 (patch) | |
tree | 924a6f56c6c1e917c246ba30fc72196c12788bca /lib/memory-notifier-error-inject.c | |
parent | 95eeb5f5880cd390fd59710f64dc7b84d1e9942f (diff) |
scsi: set correct completion code in scsi_send_eh_cmnd()
->queuecommand returns '0' for successful command submission,
so we need to set the correct SCSI midlayer return value
when calling scsi_log_completion().
Signed-off-by: Hannes Reinecke <[email protected]>
Reported-by: Robert Elliott <[email protected]>
Cc: Stephen Cameron <[email protected]>
Tested-by: Robert Elliott <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions