Commit 758b4440 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/bfs/inode.c: add __init to init_inodecache()

init_inodecache is only called by __init init_bfs_fs
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8ca57722
...@@ -266,7 +266,7 @@ static void init_once(void *foo) ...@@ -266,7 +266,7 @@ static void init_once(void *foo)
inode_init_once(&bi->vfs_inode); 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", bfs_inode_cachep = kmem_cache_create("bfs_inode_cache",
sizeof(struct bfs_inode_info), sizeof(struct bfs_inode_info),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment