summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/super.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 23:50:37 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:26 +0200
commit31e143686a39bff19a72d1806f9b8392c03dca92 (patch)
treed121a39036b2965651a542d37e4cc1e6cefe5e1e /fs/reiserfs/super.c
parentfs/reiserfs: move prototype declaration to header file (diff)
downloadlinux-31e143686a39bff19a72d1806f9b8392c03dca92.tar.xz
linux-31e143686a39bff19a72d1806f9b8392c03dca92.zip
fs/reiserfs/super.c: add __init to init_inodecache
init_inodecache is only called by __init init_reiserfs_fs. Signed-off-by: Fabian Frederick <fabf@skynet.be> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/super.c')
-rw-r--r--fs/reiserfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 16d533597065..ed54a04c33bd 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -596,7 +596,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
reiserfs_inode_cachep = kmem_cache_create("reiser_inode_cache",
sizeof(struct