[PATCH 1/1] ufs: Add __init macro to init_inodecache
From: Fabian Frederick
Date: Wed Feb 05 2014 - 12:56:31 EST
init_inodecache is only called by __init init_ufs_fs.
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/ufs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ufs/super.c b/fs/ufs/super.c
index 329f2f5..5a7502e 100644
--- a/fs/ufs/super.c
+++ b/fs/ufs/super.c
@@ -1453,7 +1453,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
ufs_inode_cachep = kmem_cache_create("ufs_inode_cache",
sizeof(struct ufs_inode_info),
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/