From: Fabian Frederick Date: Tue, 18 Feb 2014 01:34:53 +0000 (-0500) Subject: ext4: Add __init marking to init_inodecache X-Git-Tag: firefly_0821_release~176^2~4145^2~41 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e67bc2b35905cb82e9ee1f485095d8c0739b68c8;p=firefly-linux-kernel-4.4.55.git ext4: Add __init marking to init_inodecache init_inodecache is only called by __init init_ext4_fs. Signed-off-by: Fabian Frederick Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 710fed2377d4..7a829f750235 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -940,7 +940,7 @@ static void init_once(void *foo) inode_init_once(&ei->vfs_inode); } -static int init_inodecache(void) +static int __init init_inodecache(void) { ext4_inode_cachep = kmem_cache_create("ext4_inode_cache", sizeof(struct ext4_inode_info),