summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 23:46:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:20:50 +0200
commit9ee108b2c626eab894f5c669cda04933b492813d (patch)
tree4d1ee69a658504f5b90917ca364bd2bbcf9302ce /fs/cifs/cifsfs.c
parentkmemleak: change some global variables to int (diff)
downloadlinux-9ee108b2c626eab894f5c669cda04933b492813d.tar.xz
linux-9ee108b2c626eab894f5c669cda04933b492813d.zip
fs/cifs/cifsfs.c: add __init to cifs_init_inodecache()
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>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 849f6132b327..e8ae8323c058 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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",