[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20140205180148.2e66a2e873cf76f6355a7454@skynet.be>
Date: Wed, 5 Feb 2014 18:01:48 +0800
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel@...r.kernel.org
Cc: akpm@...ux-foundation.org, rdunlap@...radead.org,
viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org
Subject: [PATCH 1/1] adfs: Add __init macro to init_inodecache
init_inodecache is only called by __init init_adfs_fs.
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
fs/adfs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/adfs/super.c b/fs/adfs/super.c
index 7b3003c..15796f8 100644
--- a/fs/adfs/super.c
+++ b/fs/adfs/super.c
@@ -265,7 +265,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
adfs_inode_cachep = kmem_cache_create("adfs_inode_cache",
sizeof(struct adfs_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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists