projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ece6c5
)
make blk_ioc_init() static
author
Adrian Bunk
<bunk@kernel.org>
Mon, 18 Feb 2008 12:45:53 +0000
(13:45 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 19 Feb 2008 09:04:00 +0000
(10:04 +0100)
blk_ioc_init() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
block/blk-ioc.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-ioc.c
b/block/blk-ioc.c
index 80245dc30c75798d33089b99e14e80a746b8d50f..4ae0929c6e387b769dda8287580ad1b8b51e784a 100644
(file)
--- 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);