fs/cifs/cifsfs.c: add __init to cifs_init_inodecache()
authorFabian Frederick <fabf@skynet.be>
Thu, 3 Apr 2014 21:46:30 +0000 (14:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:20:50 +0000 (16:20 -0700)
cifs_init_inodecache is only called by __init init_cifs.

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/cifs/cifsfs.c

index 849f6132b327e5e79e35bd4a178784eea001b267..e8ae8323c058d40ffb97c77a60572542e3d659e7 100644 (file)
@@ -1005,7 +1005,7 @@ cifs_init_once(void *inode)
        init_rwsem(&cifsi->lock_sem);
 }
 
-static int
+static int __init
 cifs_init_inodecache(void)
 {
        cifs_inode_cachep = kmem_cache_create("cifs_inode_cache",