summaryrefslogtreecommitdiffstats
path: root/fs/affs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-07 15:38:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-07 16:36:08 -0700
commitadbd319e5ae90b346e6dbb692862318faa7a7808 (patch)
tree891a2a1ee60847c90d387e1c5720cbf1212fae14 /fs/affs
parent894122db49135090043df90bc105a82e16a68373 (diff)
downloadop-kernel-dev-adbd319e5ae90b346e6dbb692862318faa7a7808.zip
op-kernel-dev-adbd319e5ae90b346e6dbb692862318faa7a7808.tar.gz
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/affs')
-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 3074530..4fad16a 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),
OpenPOWER on IntegriCloud