fs/adfs/super.c: add __init to init_inodecache()
authorFabian Frederick <fabf@skynet.be>
Mon, 7 Apr 2014 22:38:58 +0000 (15:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:36:08 +0000 (16:36 -0700)
init_inodecache is only called by __init init_adfs_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/adfs/super.c

index 952aeb048349c73ea9a6d9354015163640e47d4b..9852bdf34d76963453914c2c251786332ede5e0e 100644 (file)
@@ -266,7 +266,7 @@ static void init_once(void *foo)
        inode_init_once(&ei->vfs_inode);
 }
 
-static int init_inodecache(void)
+static int __init init_inodecache(void)
 {
        adfs_inode_cachep = kmem_cache_create("adfs_inode_cache",
                                             sizeof(struct adfs_inode_info),