block: move blk_queue_get_max_sectors to blk.h
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jun 2022 09:09:34 +0000 (11:09 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commit2a9336c42a6abdcef564d522648a684a474a3483
tree9ebd3675e1f12ba19bf59089210016a5b3c49cc1
parentefef739d5f37dc998b113fb965aea68d42a9eddc
block: move blk_queue_get_max_sectors to blk.h

blk_queue_get_max_sectors is private to the block layer, so move it out
of blkdev.h.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220614090934.570632-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
include/linux/blkdev.h