ext4: Add __init marking to init_inodecache
init_inodecache is only called by __init init_ext4_fs. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
92e3b40537
commit
e67bc2b359
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user