summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-05-21 07:51:16 +0200
committerJens Axboe <axboe@kernel.dk>2021-06-01 15:42:24 +0200
commitda7ba72960ca2a9b968e47fcf414d16f3d4c0c42 (patch)
tree3c255453edd93ee252a2d40e610a16fe70ff8035 /block/blk.h
parentnull_blk: convert to blk_alloc_disk/blk_cleanup_disk (diff)
downloadlinux-da7ba72960ca2a9b968e47fcf414d16f3d4c0c42.tar.xz
linux-da7ba72960ca2a9b968e47fcf414d16f3d4c0c42.zip
block: unexport blk_alloc_queue
blk_alloc_queue is just an internal helper now, unexport it and remove it from the public header. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20210521055116.1053587-27-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
-rw-r--r--block/blk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk.h b/block/blk.h
index cba3a94aabfa..3440142f029b 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -359,4 +359,6 @@ int bio_add_hw_page(struct request_queue *q, struct bio *bio,
struct page *page, unsigned int len, unsigned int offset,
unsigned int max_sectors, bool *same_page);
+struct request_queue *blk_alloc_queue(int node_id);
+
#endif /* BLK_INTERNAL_H */