Skip to content

Commit

Permalink
ext3: Add __init macro to init_inodecache
Browse files Browse the repository at this point in the history
init_inodecache is only called by __init init_ext3_fs.

Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
Fabian Frederick authored and jankara committed Mar 3, 2014
1 parent 0903353 commit 1da8b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}

static int init_inodecache(void)
static int __init init_inodecache(void)
{
ext3_inode_cachep = kmem_cache_create("ext3_inode_cache",
sizeof(struct ext3_inode_info),
Expand Down

0 comments on commit 1da8b82

Please sign in to comment.