Skip to content

Commit

Permalink
ext2: 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_ext2_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 53ea18d commit 0903353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}

static int init_inodecache(void)
static int __init init_inodecache(void)
{
ext2_inode_cachep = kmem_cache_create("ext2_inode_cache",
sizeof(struct ext2_inode_info),
Expand Down

0 comments on commit 0903353

Please sign in to comment.