fs/ufs/super.c: add __init to init_inodecache()
authorFabian Frederick <fabf@skynet.be>
Mon, 7 Apr 2014 22:39:55 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:36:16 +0000 (16:36 -0700)
init_inodecache is only called by __init init_ufs_fs.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ufs/super.c

index b8c6791f046fbe4195d97697bbe8a6ba29be03a0..3aad63394abcdbbf3f37a49e646c05fc83c1b66b 100644 (file)
@@ -1454,7 +1454,7 @@ static void init_once(void *foo)
        inode_init_once(&ei->vfs_inode);
 }
 
-static int init_inodecache(void)
+static int __init init_inodecache(void)
 {
        ufs_inode_cachep = kmem_cache_create("ufs_inode_cache",
                                             sizeof(struct ufs_inode_info),