summaryrefslogtreecommitdiff
path: root/fs/minix
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
parent0d71915d27a6bfd896513c5aa3bae4a09ca81c2c (diff)
downloadlinux-riscv-84ee353df07e9beec200da44ac70f583449fffb1.tar.gz
linux-riscv-84ee353df07e9beec200da44ac70f583449fffb1.tar.bz2
linux-riscv-84ee353df07e9beec200da44ac70f583449fffb1.zip
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')
-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 03aaeb1a694a..0ad2ec9601de 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),