aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2019-10-21 12:40:04 +0900
committerJens Axboe <[email protected]>2019-11-04 10:56:41 -0700
commite08f2ae850929d40e66268ee47e443e7ea56eeb7 (patch)
treefa7600498204fb0c479510dcfd3d084c1fc5b868 /net/switchdev/switchdev.c
parent314d48dd224897e35ddcaf5a1d7d133b5adddeb7 (diff)
nvme: Introduce nvme_lba_to_sect()
Introduce the new helper function nvme_lba_to_sect() to convert a device logical block number to a 512B sector number. Use this new helper in obvious places, cleaning up the code. Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions