From: Fabian Frederick Date: Mon, 7 Apr 2014 22:38:59 +0000 (-0700) Subject: affs: add __init to init_inodecache () X-Git-Tag: firefly_0821_release~176^2~4111^2~50 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=adbd319e5ae90b346e6dbb692862318faa7a7808;p=firefly-linux-kernel-4.4.55.git affs: add __init to init_inodecache () init_inodecache is only called by __init init_affs_fs Signed-off-by: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/affs/super.c b/fs/affs/super.c index 307453086c3f..4fad16adbe7b 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c @@ -128,7 +128,7 @@ static void init_once(void *foo) inode_init_once(&ei->vfs_inode); } -static int init_inodecache(void) +static int __init init_inodecache(void) { affs_inode_cachep = kmem_cache_create("affs_inode_cache", sizeof(struct affs_inode_info),