summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-02-17 20:34:53 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-02-17 20:34:53 -0500
commite67bc2b35905cb82e9ee1f485095d8c0739b68c8 (patch)
tree830fd67a182a54447789c068166bb158caca6675 /fs
parent92e3b40537707001d17bbad800d150ab04e53bf4 (diff)
downloadlwn-e67bc2b35905cb82e9ee1f485095d8c0739b68c8.tar.gz
lwn-e67bc2b35905cb82e9ee1f485095d8c0739b68c8.zip
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 710fed2377d4..7a829f750235 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -940,7 +940,7 @@ static void init_once(void *foo)
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",
sizeof(struct ext4_inode_info),