summaryrefslogtreecommitdiff
path: root/fs/bfs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-07 15:39:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-07 16:36:08 -0700
commit758b4440753969420290eeff69eeedc5a8521149 (patch)
tree81434f3b903bf3be8eaff3921fc02003f29a0dd5 /fs/bfs
parent8ca577223f75230a746a06f4566c53943f78d5d0 (diff)
downloadlwn-758b4440753969420290eeff69eeedc5a8521149.tar.gz
lwn-758b4440753969420290eeff69eeedc5a8521149.zip
fs/bfs/inode.c: add __init to init_inodecache()
init_inodecache is only called by __init init_bfs_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/bfs')
-rw-r--r--fs/bfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c
index 29aa5cf6639b..7041ac35ace8 100644
--- a/fs/bfs/inode.c
+++ b/fs/bfs/inode.c
@@ -266,7 +266,7 @@ static void init_once(void *foo)
inode_init_once(&bi->vfs_inode);
}
-static int init_inodecache(void)
+static int __init init_inodecache(void)
{
bfs_inode_cachep = kmem_cache_create("bfs_inode_cache",
sizeof(struct bfs_inode_info),