Commit e67bc2b3 authored by Fabian Frederick's avatar Fabian Frederick Committed by Theodore Ts'o

ext4: Add __init marking to init_inodecache

init_inodecache is only called by __init init_ext4_fs.
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 92e3b405
...@@ -940,7 +940,7 @@ static void init_once(void *foo) ...@@ -940,7 +940,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)
{ {
ext4_inode_cachep = kmem_cache_create("ext4_inode_cache", ext4_inode_cachep = kmem_cache_create("ext4_inode_cache",
sizeof(struct ext4_inode_info), sizeof(struct ext4_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