Re: [PATCH v6 5/7] scsi_io_completion_reprep helper added

2018-06-25 Thread Hannes Reinecke
On 06/23/2018 12:22 PM, Douglas Gilbert wrote: Since the action "reprep" is called from two places, rather than repeat the code, make a new scsi_io_completion helper with "reprep" as its suffix. Signed-off-by: Douglas Gilbert Reviewed-by: Johannes Thumshirn Reviewed-by: Bart Van Assche ---

[PATCH v6 5/7] scsi_io_completion_reprep helper added

2018-06-23 Thread Douglas Gilbert
Since the action "reprep" is called from two places, rather than repeat the code, make a new scsi_io_completion helper with "reprep" as its suffix. Signed-off-by: Douglas Gilbert Reviewed-by: Johannes Thumshirn Reviewed-by: Bart Van Assche --- drivers/scsi/scsi_lib.c | 41