Skip to content

Commit

Permalink
fs/bfs/inode.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_bfs_fs

Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Fabian Frederick authored and torvalds committed Apr 7, 2014
1 parent 8ca5772 commit 758b444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/bfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static void init_once(void *foo)
inode_init_once(&bi->vfs_inode);
}

static int init_inodecache(void)
static int __init init_inodecache(void)
{
bfs_inode_cachep = kmem_cache_create("bfs_inode_cache",
sizeof(struct bfs_inode_info),
Expand Down

0 comments on commit 758b444

Please sign in to comment.