From: Fabian Frederick Date: Sat, 1 Feb 2014 11:13:00 +0000 (+0800) Subject: ext3: Add __init macro to init_inodecache X-Git-Tag: firefly_0821_release~176^2~4107^2~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1da8b822f809b621f34e8cdac2f40c93dcc2d348;p=firefly-linux-kernel-4.4.55.git ext3: Add __init macro to init_inodecache init_inodecache is only called by __init init_ext3_fs. Signed-off-by: Fabian Frederick Signed-off-by: Jan Kara --- diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 37fd31ed16e7..94608d4958fe 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c @@ -527,7 +527,7 @@ static void init_once(void *foo) inode_init_once(&ei->vfs_inode); } -static int init_inodecache(void) +static int __init init_inodecache(void) { ext3_inode_cachep = kmem_cache_create("ext3_inode_cache", sizeof(struct ext3_inode_info),