summaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-02-01 12:02:02 +0400
committerJan Kara <jack@suse.cz>2014-03-03 14:30:58 +0400
commit0903353a149ea25fa1cd7e05ccb6ae4a30c09966 (patch)
treef4201cd5d2bff80a7bd2da2a829b17ac85929ac2 /fs/ext2
parent53ea18de2ae3b82d4ac300e63bd864965f16b033 (diff)
downloadlinux-0903353a149ea25fa1cd7e05ccb6ae4a30c09966.tar.xz
ext2: Add __init macro to init_inodecache
init_inodecache is only called by __init init_ext2_fs. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 20d6697bd638..73d80da25acd 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -192,7 +192,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
ext2_inode_cachep = kmem_cache_create("ext2_inode_cache",
sizeof(struct ext2_inode_info),