[PATCH 1/1] fs/reiserfs/super.c: add __init to init_inodecache

From: Fabian Frederick
Date: Fri Mar 21 2014 - 12:15:02 EST


init_inodecache is only called by __init init_reiserfs_fs.

Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/reiserfs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 2c80335..7035087 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -597,7 +597,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}

-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
reiserfs_inode_cachep = kmem_cache_create("reiser_inode_cache",
sizeof(struct
--
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/