[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080213212949.GM3383@cs181133002.pp.htv.fi>
Date: Wed, 13 Feb 2008 23:29:49 +0200
From: Adrian Bunk <bunk@...nel.org>
To: Jens Axboe <jens.axboe@...cle.com>
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] make blk_ioc_init() static
blk_ioc_init() can become static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
6df9a0aeeeac4ae589ee18ffbdf4897ab36d7233 diff --git a/block/blk-ioc.c b/block/blk-ioc.c
index 80245dc..4ae0929 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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists