diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-05-08 11:44:40 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-05-08 08:09:39 -0600 |
commit | ebd768579552a10682c2cbdfa657779dea62a01d (patch) | |
tree | a34be4ab0a9902bda1051678c8f34cfbd7b26a6e /block | |
parent | 629b1b2e0e6c8285fdc21624af60e8190fa4417e (diff) | |
download | linux-ebd768579552a10682c2cbdfa657779dea62a01d.tar.gz linux-ebd768579552a10682c2cbdfa657779dea62a01d.tar.bz2 linux-ebd768579552a10682c2cbdfa657779dea62a01d.zip |
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')
-rw-r--r-- | block/blk-mq.c | 2 |
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; |