Commit 76ee4735 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/ufs/super.c: add __init to init_inodecache()

init_inodecache is only called by __init init_ufs_fs.
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 56aeeba8
...@@ -1454,7 +1454,7 @@ static void init_once(void *foo) ...@@ -1454,7 +1454,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode); inode_init_once(&ei->vfs_inode);
} }
static int init_inodecache(void) static int __init init_inodecache(void)
{ {
ufs_inode_cachep = kmem_cache_create("ufs_inode_cache", ufs_inode_cachep = kmem_cache_create("ufs_inode_cache",
sizeof(struct ufs_inode_info), sizeof(struct ufs_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