summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick2014-02-01 12:13:00 +0100
committerJan Kara2014-03-03 11:30:58 +0100
commit1da8b822f809b621f34e8cdac2f40c93dcc2d348 (patch)
treede1d02be42fd45192862140572bcda3fa7aec177
parentext2: Add __init macro to init_inodecache (diff)
downloadkernel-qcow2-linux-1da8b822f809b621f34e8cdac2f40c93dcc2d348.tar.gz
kernel-qcow2-linux-1da8b822f809b621f34e8cdac2f40c93dcc2d348.tar.xz
kernel-qcow2-linux-1da8b822f809b621f34e8cdac2f40c93dcc2d348.zip
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>
-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 37fd31ed16e7..94608d4958fe 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),