commit | ab83108460a2a0d71c5bb22830036c4646e94e63 | [log] [tgz] |
---|---|---|
author | Douglas Gilbert <dgilbert@interlog.com> | Sat Jun 23 12:22:16 2018 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jun 26 12:27:06 2018 -0400 |
tree | 9592381e900def9eed986a4fd0af5ff1f01caa6c | |
parent | 1f7cbb8e4b04fd33325a5cb279693861e549c03b [diff] |
scsi: core: add scsi_io_completion_nz_result function Break out several intertwined paths when cmd->result is non zero and place them in the scsi_io_completion_nz_result helper function. The logic is not changed. Signed-off-by: Douglas Gilbert <dgilbert@interlog.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>