[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140201160202.a3ac96c613754013300b462d@skynet.be>
Date: Sat, 1 Feb 2014 16:02:02 +0800
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel@...r.kernel.org
Cc: jack@...e.cz, linux-ext4@...r.kernel.org
Subject: [PATCH 1/1] ext2: Add __init macro to init_inodecache
init_inodecache is only called by __init init_ext2_fs.
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
fs/ext2/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 20d6697..73d80da 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),
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists