diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-26 12:58:11 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 06:41:29 -0700 |
commit | 222ee581b84582dc472d5395b77d7e0cb5268d1c (patch) | |
tree | 3956cbf07c87ab9fc9bd97dd61c93b4e15a55c30 /block/blk-ioc.c | |
parent | 87dd1d63dcbd0f508a8b23785752e78d082fd176 (diff) | |
download | linux-next-222ee581b84582dc472d5395b77d7e0cb5268d1c.tar.gz |
block: move the remaining elv.icq handling to the I/O scheduler
After the prepare side has been moved to the only I/O scheduler that
cares, do the same for the cleanup and the NULL initialization.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-ioc.c')
-rw-r--r-- | block/blk-ioc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-ioc.c b/block/blk-ioc.c index f4f84a2072be..3ba15c867dfa 100644 --- a/block/blk-ioc.c +++ b/block/blk-ioc.c @@ -167,6 +167,7 @@ void put_io_context(struct io_context *ioc) if (free_ioc) kmem_cache_free(iocontext_cachep, ioc); } +EXPORT_SYMBOL_GPL(put_io_context); /** * put_io_context_active - put active reference on ioc |