summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2021-06-09 05:39:15 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2021-07-21 04:08:55 +0200
commit7ba46799d34695534666a3f71a2be10ea85ece6c (patch)
tree02ff462025963230e3d890b873b58b692a353be7 /drivers
parentscsi: smartpqi: Update version to 2.1.10-020 (diff)
downloadlinux-7ba46799d34695534666a3f71a2be10ea85ece6c.tar.xz
linux-7ba46799d34695534666a3f71a2be10ea85ece6c.zip
scsi: core: Add scsi_prot_ref_tag() helper
We are about to remove the request pointer from struct scsi_cmnd and that will complicate getting to the ref_tag via t10_pi_ref_tag() in the various drivers. Introduce a helper function to retrieve the reference tag so drivers will not have to worry about the details. Link: https://lore.kernel.org/r/20210609033929.3815-2-martin.petersen@oracle.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Message-Id: <20210609033929.3815-2-martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions