summaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-18 13:45:53 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-02-19 10:04:00 +0100
commit13341598263011e079386b22ea35e482f97714c0 (patch)
tree8a4caf93f9fed9e3b318304759028201a477f733 /block/blk-ioc.c
parent5ece6c52ea52f9e94298e950a837ccff415c7687 (diff)
downloadlinux-13341598263011e079386b22ea35e482f97714c0.tar.gz
linux-13341598263011e079386b22ea35e482f97714c0.tar.bz2
linux-13341598263011e079386b22ea35e482f97714c0.zip
make blk_ioc_init() static
blk_ioc_init() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
Diffstat (limited to 'block/blk-ioc.c')
-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 80245dc30c75..4ae0929c6e38 100644
--- a/block/blk-ioc.c
+++ b/block/blk-ioc.c
@@ -176,7 +176,7 @@ void copy_io_context(struct io_context **pdst, struct io_context **psrc)
}
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",
sizeof(struct io_context), 0, SLAB_PANIC, NULL);