fs/minix/inode.c: add __init to init_inodecache()
authorFabian Frederick <fabf@skynet.be>
Thu, 3 Apr 2014 21:50:21 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:24 +0000 (16:21 -0700)
init_inodecache is only called by __init init_minix_fs.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/minix/inode.c

index 03aaeb1a694ab5abb961a854a4c33c88905e0509..0ad2ec9601de1b2bfee9b1d4c202df6627f7f751 100644 (file)
@@ -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),