diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-18 07:45:53 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-02-19 04:04:00 -0500 |
commit | 13341598263011e079386b22ea35e482f97714c0 (patch) | |
tree | 8a4caf93f9fed9e3b318304759028201a477f733 /block | |
parent | 5ece6c52ea52f9e94298e950a837ccff415c7687 (diff) |
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')
-rw-r--r-- | block/blk-ioc.c | 2 |
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) | |||
176 | } | 176 | } |
177 | EXPORT_SYMBOL(copy_io_context); | 177 | EXPORT_SYMBOL(copy_io_context); |
178 | 178 | ||
179 | int __init blk_ioc_init(void) | 179 | static int __init blk_ioc_init(void) |
180 | { | 180 | { |
181 | iocontext_cachep = kmem_cache_create("blkdev_ioc", | 181 | iocontext_cachep = kmem_cache_create("blkdev_ioc", |
182 | sizeof(struct io_context), 0, SLAB_PANIC, NULL); | 182 | sizeof(struct io_context), 0, SLAB_PANIC, NULL); |