summaryrefslogtreecommitdiffstats
path: root/fs/minix/inode.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 14:50:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 16:21:24 -0700
commit84ee353df07e9beec200da44ac70f583449fffb1 (patch)
tree8a753b476191bd15f9d0b1be42978a652499218c /fs/minix/inode.c
parent0d71915d27a6bfd896513c5aa3bae4a09ca81c2c (diff)
downloadop-kernel-dev-84ee353df07e9beec200da44ac70f583449fffb1.zip
op-kernel-dev-84ee353df07e9beec200da44ac70f583449fffb1.tar.gz
fs/minix/inode.c: add __init to init_inodecache()
init_inodecache is only called by __init init_minix_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/minix/inode.c')
-rw-r--r--fs/minix/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/inode.c b/fs/minix/inode.c
index 03aaeb1..0ad2ec9 100644
--- a/fs/minix/inode.c
+++ b/fs/minix/inode.c
@@ -86,7 +86,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
minix_inode_cachep = kmem_cache_create("minix_inode_cache",
sizeof(struct minix_inode_info),
OpenPOWER on IntegriCloud