diff options
| author | Martin K. Petersen <[email protected]> | 2021-06-09 03:39:26 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-07-21 02:10:42 +0000 |
| commit | d2c945f01d233085fedc9e3cf7ec180eaa2b7a85 (patch) | |
| tree | 86f4c5b04ee5865188df9f01df9869a01eb35a3d /drivers/scsi/libsas/sas_init.c | |
| parent | scsi: iser: Use scsi_get_sector() instead of scsi_get_lba() (diff) | |
| download | kernel-d2c945f01d233085fedc9e3cf7ec180eaa2b7a85.tar.gz kernel-d2c945f01d233085fedc9e3cf7ec180eaa2b7a85.zip | |
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/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Benjamin Block <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Message-Id: <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
0 files changed, 0 insertions, 0 deletions
