summaryrefslogtreecommitdiffstats
path: root/fs/ext3/super.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-02-01 19:13:00 +0800
committerJan Kara <jack@suse.cz>2014-03-03 11:30:58 +0100
commit1da8b822f809b621f34e8cdac2f40c93dcc2d348 (patch)
treede1d02be42fd45192862140572bcda3fa7aec177 /fs/ext3/super.c
parent0903353a149ea25fa1cd7e05ccb6ae4a30c09966 (diff)
downloadop-kernel-dev-1da8b822f809b621f34e8cdac2f40c93dcc2d348.zip
op-kernel-dev-1da8b822f809b621f34e8cdac2f40c93dcc2d348.tar.gz
ext3: Add __init macro to init_inodecache
init_inodecache is only called by __init init_ext3_fs. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3/super.c')
-rw-r--r--fs/ext3/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 37fd31e..94608d4 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -527,7 +527,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
ext3_inode_cachep = kmem_cache_create("ext3_inode_cache",
sizeof(struct ext3_inode_info),
OpenPOWER on IntegriCloud