From: Fabian Frederick Date: Thu, 3 Apr 2014 21:50:21 +0000 (-0700) Subject: fs/minix/inode.c: add __init to init_inodecache() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=84ee353df07e9beec200da44ac70f583449fffb1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fs/minix/inode.c: add __init to init_inodecache() init_inodecache is only called by __init init_minix_fs. Signed-off-by: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 03aaeb1a694a..0ad2ec9601de 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c @@ -86,7 +86,7 @@ static void init_once(void *foo) inode_init_once(&ei->vfs_inode); } -static int init_inodecache(void) +static int __init init_inodecache(void) { minix_inode_cachep = kmem_cache_create("minix_inode_cache", sizeof(struct minix_inode_info),