diff options
author | Keith Busch <kbusch@kernel.org> | 2022-11-10 10:44:59 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-16 15:58:11 -0700 |
commit | b3228254bb6e91e57f920227f72a1a7d81925d81 (patch) | |
tree | a1838f569302ba1bb717824dfaeee1a1151dda28 /block | |
parent | 86e4d3e8d1838ca88fb9267e669c36f6c8f7c6cd (diff) | |
download | linux-b3228254bb6e91e57f920227f72a1a7d81925d81.tar.gz linux-b3228254bb6e91e57f920227f72a1a7d81925d81.tar.bz2 linux-b3228254bb6e91e57f920227f72a1a7d81925d81.zip |
block: make blk_set_default_limits() private
There are no external users of this function.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221110184501.2451620-4-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-settings.c | 1 | ||||
-rw-r--r-- | block/blk.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index 4949ed3ce7c9..8ac1038d0c79 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -59,7 +59,6 @@ void blk_set_default_limits(struct queue_limits *lim) lim->zone_write_granularity = 0; lim->dma_alignment = 511; } -EXPORT_SYMBOL(blk_set_default_limits); /** * blk_set_stacking_limits - set default limits for stacking devices diff --git a/block/blk.h b/block/blk.h index 5350bf363035..a0c1d31a8fe7 100644 --- a/block/blk.h +++ b/block/blk.h @@ -324,6 +324,7 @@ void blk_rq_set_mixed_merge(struct request *rq); bool blk_rq_merge_ok(struct request *rq, struct bio *bio); enum elv_merge blk_try_merge(struct request *rq, struct bio *bio); +void blk_set_default_limits(struct queue_limits *lim); int blk_dev_init(void); /* |