diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-18 13:45:53 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-02-19 10:04:00 +0100 |
commit | 13341598263011e079386b22ea35e482f97714c0 (patch) | |
tree | 8a4caf93f9fed9e3b318304759028201a477f733 /block | |
parent | make blk-core.c:request_cachep static again (diff) | |
download | linux-13341598263011e079386b22ea35e482f97714c0.tar.xz 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')
-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) } 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); |