diff options
author | 2022-11-21 21:26:02 -0600 | |
---|---|---|
committer | 2022-12-01 03:22:23 +0000 | |
commit | 04b3c8c0025a1d91a0e133e9b2734a002960f472 (patch) | |
tree | 751ee1508cf0aec27ccfe5830ca939d89601a7dc /net/unix/af_unix.c | |
parent | scsi: core: Rename status_byte to sg_status_byte (diff) | |
download | wireguard-linux-04b3c8c0025a1d91a0e133e9b2734a002960f472.tar.xz wireguard-linux-04b3c8c0025a1d91a0e133e9b2734a002960f472.zip |
scsi: sd: Convert SCSI errors to PR errors
This converts the SCSI errors we commonly see during PR handling to PR_STS
errors or -Exyz errors. pr_ops callers can then handle SCSI and NVMe errors
without knowing the device types.
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20221122032603.32766-4-michael.christie@oracle.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions