]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: core: Rename __scsi_error_from_host_byte() into scsi_result_to_blk_status()
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 5 Apr 2018 17:33:00 +0000 (10:33 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Apr 2018 01:31:37 +0000 (21:31 -0400)
commita77b32d8b1ed7365d8b2a35b188b059d211b658b
treeabcfc8c69ddc0b0d26905a0d5a4e72d6240a5620
parentcbe095e2b584623b882ebaf6c18e0b9077baa3f7
scsi: core: Rename __scsi_error_from_host_byte() into scsi_result_to_blk_status()

Since the next patch will modify this function such that it checks more than
just the host byte of the SCSI result, rename __scsi_error_from_host_byte()
into scsi_result_to_blk_status().  This patch does not change any
functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Lee Duncan <lduncan@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c