linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ext2: Add __init macro to init_inodecache
@ 2014-02-01  8:02 Fabian Frederick
  2014-02-01 17:53 ` Matthew Wilcox
  2014-02-03 23:56 ` Jan Kara
  0 siblings, 2 replies; 4+ messages in thread
From: Fabian Frederick @ 2014-02-01  8:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: jack, linux-ext4

init_inodecache is only called by __init init_ext2_fs.

Signed-off-by: Fabian Frederick <fabf@skynet.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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-03 23:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-01  8:02 [PATCH 1/1] ext2: Add __init macro to init_inodecache Fabian Frederick
2014-02-01 17:53 ` Matthew Wilcox
2014-02-01 10:19   ` Fabian Frederick
2014-02-03 23:56 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).