Skip to content

Commit

Permalink
fs/reiserfs/super.c: add __init to init_inodecache
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and Linus Torvalds committed Apr 3, 2014
1 parent ea0856c commit 31e1436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/reiserfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31e1436

Please sign in to comment.