diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-09 06:39:26 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-07-21 05:10:42 +0300 |
commit | d2c945f01d233085fedc9e3cf7ec180eaa2b7a85 (patch) | |
tree | 86f4c5b04ee5865188df9f01df9869a01eb35a3d /drivers/scsi/libsas/Makefile | |
parent | 87662a472a9d8980b26ba5803447df2c4981d467 (diff) | |
download | linux-d2c945f01d233085fedc9e3cf7ec180eaa2b7a85.tar.xz |
scsi: core: Make scsi_get_lba() return the LBA
scsi_get_lba() confusingly returned the block layer sector number expressed
in units of 512 bytes. Now that we have a more aptly named
scsi_get_sector() function, make scsi_get_lba() return the actual LBA.
Link: https://lore.kernel.org/r/20210609033929.3815-13-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-13-martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/Makefile')
0 files changed, 0 insertions, 0 deletions