From: Fabian Frederick Date: Thu, 3 Apr 2014 21:50:22 +0000 (-0700) Subject: fs/befs/linuxvfs.c: add __init to befs_init_inodecache() X-Git-Tag: v5.15~18164^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91a52ab7d664a1c8972a0ecb30955d34aea54d7f;p=platform%2Fkernel%2Flinux-starfive.git fs/befs/linuxvfs.c: add __init to befs_init_inodecache() init_inodecache is only called by __init init_befs_fs. Signed-off-by: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index a1a0946..079872d 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -39,7 +39,6 @@ static struct dentry *befs_lookup(struct inode *, struct dentry *, unsigned int) static struct inode *befs_iget(struct super_block *, unsigned long); static struct inode *befs_alloc_inode(struct super_block *sb); static void befs_destroy_inode(struct inode *inode); -static int befs_init_inodecache(void); static void befs_destroy_inodecache(void); static void *befs_follow_link(struct dentry *, struct nameidata *); static void *befs_fast_follow_link(struct dentry *, struct nameidata *); @@ -445,7 +444,7 @@ static struct inode *befs_iget(struct super_block *sb, unsigned long ino) * * Taken from NFS implementation by Al Viro. */ -static int +static int __init befs_init_inodecache(void) { befs_inode_cachep = kmem_cache_create("befs_inode_cache",