summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 14:46:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 16:20:50 -0700
commit9ee108b2c626eab894f5c669cda04933b492813d (patch)
tree4d1ee69a658504f5b90917ca364bd2bbcf9302ce /fs/cifs
parent8910ae896c8c961ef9c7d309262730bd2859e747 (diff)
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')
-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",