diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-24 10:25:18 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-24 16:57:08 +0300 |
commit | 1a9fba3a77a5b39d1c9e1611758303f2649474e9 (patch) | |
tree | 1b42e5acf03d130d3a3277117aa21f6f9a017dbb /block/blk.h | |
parent | a10183d744fb4e3f8aa38086c2b5e6fdf0171a1a (diff) | |
download | linux-1a9fba3a77a5b39d1c9e1611758303f2649474e9.tar.xz |
block: unexport read_dev_sector and put_dev_sector
read_dev_sector and put_dev_sector are now only used by the partition
parsing code. Remove the export for read_dev_sector and merge it into
the only caller. Clean the mess up a bit by using goto labels and
the SECTOR_SHIFT constant.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions