diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-06-09 05:39:24 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-07-21 04:10:42 +0200 |
commit | f0f214fe8cd32224267ebea93817b8c32074623d (patch) | |
tree | e44f110a4ba963ba015f416a08416abb2085801e /scripts/Makefile.lib | |
parent | scsi: scsi_debug: Improve RDPROTECT/WRPROTECT handling (diff) | |
download | linux-f0f214fe8cd32224267ebea93817b8c32074623d.tar.xz linux-f0f214fe8cd32224267ebea93817b8c32074623d.zip |
scsi: core: Introduce scsi_get_sector()
Since scsi_get_lba() returns a sector_t value instead of the LBA, the name
of that function is confusing. Introduce an identical function
scsi_get_sector().
Link: https://lore.kernel.org/r/20210513223757.3938-2-bvanassche@acm.org
Link: https://lore.kernel.org/r/20210609033929.3815-11-martin.petersen@oracle.com
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Message-Id: <20210609033929.3815-11-martin.petersen@oracle.com>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions