diff options
author | Chaitanya Kulkarni | 2021-01-11 20:26:16 -0800 |
---|---|---|
committer | Christoph Hellwig | 2021-02-02 10:26:11 +0100 |
commit | 193fcf371f9e3705c14a0bf1d4bfc44af0f7c124 (patch) | |
tree | e03131156e5412e1ac1db076e861fe2606d86083 /net/strparser | |
parent | 3c7b224f1956ed232b24ed2eb2c54e4476c6acb2 (diff) |
nvmet: add lba to sect conversion helpers
In this preparation patch, we add helpers to convert lbas to sectors &
sectors to lba. This is needed to eliminate code duplication in the ZBD
backend.
Use these helpers in the block device backend.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions