summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-11-26 12:58:09 +0100
committerJens Axboe <axboe@kernel.dk>2021-11-29 14:41:29 +0100
commit3304742562d27fb87a6d8291cc48824dd20f6964 (patch)
treeeabf122137ed1a5458e6d7056051b21b9d6dd74d /block
parentRevert "block: Provide blk_mq_sched_get_icq()" (diff)
downloadlinux-3304742562d27fb87a6d8291cc48824dd20f6964.tar.xz
linux-3304742562d27fb87a6d8291cc48824dd20f6964.zip
block: mark put_io_context_active static
Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211126115817.2087431-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-ioc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-ioc.c b/block/blk-ioc.c
index 3b31cfad4b75..f3ff495756cb 100644
--- a/block/blk-ioc.c
+++ b/block/blk-ioc.c
@@ -175,7 +175,7 @@ void put_io_context(struct io_context *ioc)
* Undo get_io_context_active(). If active reference reaches zero after
* put, @ioc can never issue further IOs and ioscheds are notified.
*/
-void put_io_context_active(struct io_context *ioc)
+static void put_io_context_active(struct io_context *ioc)
{
struct io_cq *icq;