Commit 13341598 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jens Axboe

make blk_ioc_init() static

blk_ioc_init() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@carl.home.kernel.dk>
parent 5ece6c52
...@@ -176,7 +176,7 @@ void copy_io_context(struct io_context **pdst, struct io_context **psrc) ...@@ -176,7 +176,7 @@ void copy_io_context(struct io_context **pdst, struct io_context **psrc)
} }
EXPORT_SYMBOL(copy_io_context); EXPORT_SYMBOL(copy_io_context);
int __init blk_ioc_init(void) static int __init blk_ioc_init(void)
{ {
iocontext_cachep = kmem_cache_create("blkdev_ioc", iocontext_cachep = kmem_cache_create("blkdev_ioc",
sizeof(struct io_context), 0, SLAB_PANIC, NULL); sizeof(struct io_context), 0, SLAB_PANIC, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment