aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Frederick2014-04-07 15:38:59 -0700
committerLinus Torvalds2014-04-07 16:36:08 -0700
commitadbd319e5ae90b346e6dbb692862318faa7a7808 (patch)
tree891a2a1ee60847c90d387e1c5720cbf1212fae14
parent894122db49135090043df90bc105a82e16a68373 (diff)
affs: add __init to init_inodecache ()
init_inodecache is only called by __init init_affs_fs Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/affs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c
index 307453086c3f..4fad16adbe7b 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -128,7 +128,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
affs_inode_cachep = kmem_cache_create("affs_inode_cache",
sizeof(struct affs_inode_info),