On 4/7/23 13:05, Mike Christie wrote:
LIO is going to want to do the same block to/from SCSI pr types as sd.c so this moves the sd_pr_type helper to scsi_common and renames it. The next patch will then also add a helper to go from the SCSI value to the block one for use with PERSISTENT_RESERVE_IN commands.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>