summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-05-08 13:44:40 +0300
committerJens Axboe <axboe@fb.com>2017-05-08 17:09:39 +0300
commitebd768579552a10682c2cbdfa657779dea62a01d (patch)
treea34be4ab0a9902bda1051678c8f34cfbd7b26a6e /block/blk-mq.c
parent629b1b2e0e6c8285fdc21624af60e8190fa4417e (diff)
downloadlinux-ebd768579552a10682c2cbdfa657779dea62a01d.tar.xz
blk-mq: make __blk_mq_stop_hw_queues static
Making __blk_mq_stop_hw_queues static fixes sparse warning: block/blk-mq.c:6: warning: symbol '__blk_mq_stop_hw_queues' was not declared. Should it be static? Fixes: 2719aa217e0d0 ("blk-mq: don't use sync workqueue flushing from drivers") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r--block/blk-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index a7e6b353e4e9..9ae1d9ccf4df 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1236,7 +1236,7 @@ void blk_mq_stop_hw_queue(struct blk_mq_hw_ctx *hctx)
}
EXPORT_SYMBOL(blk_mq_stop_hw_queue);
-void __blk_mq_stop_hw_queues(struct request_queue *q, bool sync)
+static void __blk_mq_stop_hw_queues(struct request_queue *q, bool sync)
{
struct blk_mq_hw_ctx *hctx;
int i;