summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-08 00:38:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-08 01:36:08 +0200
commitadbd319e5ae90b346e6dbb692862318faa7a7808 (patch)
tree891a2a1ee60847c90d387e1c5720cbf1212fae14 /fs
parentfs/adfs/super.c: add __init to init_inodecache() (diff)
downloadlinux-adbd319e5ae90b346e6dbb692862318faa7a7808.tar.xz
linux-adbd319e5ae90b346e6dbb692862318faa7a7808.zip
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>
Diffstat (limited to 'fs')
-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),