fs/ufs/super.c: add __init to init_inodecache()
authorFabian Frederick <[email protected]>
Mon, 7 Apr 2014 22:39:55 +0000 (15:39 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Evgeniy Dushistov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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),