diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-04-03 17:50:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:21:24 -0400 |
commit | 91a52ab7d664a1c8972a0ecb30955d34aea54d7f (patch) | |
tree | 9747e29f7b65906881b4cd82508d49a54dfc267d /fs/befs | |
parent | 2d4319ef570d44a8957b2af0a35d3e92b844b1b5 (diff) |
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 <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/befs')
-rw-r--r-- | fs/befs/linuxvfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index a1a09462fe47..079872d61f75 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) | |||
39 | static struct inode *befs_iget(struct super_block *, unsigned long); | 39 | static struct inode *befs_iget(struct super_block *, unsigned long); |
40 | static struct inode *befs_alloc_inode(struct super_block *sb); | 40 | static struct inode *befs_alloc_inode(struct super_block *sb); |
41 | static void befs_destroy_inode(struct inode *inode); | 41 | static void befs_destroy_inode(struct inode *inode); |
42 | static int befs_init_inodecache(void); | ||
43 | static void befs_destroy_inodecache(void); | 42 | static void befs_destroy_inodecache(void); |
44 | static void *befs_follow_link(struct dentry *, struct nameidata *); | 43 | static void *befs_follow_link(struct dentry *, struct nameidata *); |
45 | static void *befs_fast_follow_link(struct dentry *, struct nameidata *); | 44 | 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) | |||
445 | * | 444 | * |
446 | * Taken from NFS implementation by Al Viro. | 445 | * Taken from NFS implementation by Al Viro. |
447 | */ | 446 | */ |
448 | static int | 447 | static int __init |
449 | befs_init_inodecache(void) | 448 | befs_init_inodecache(void) |
450 | { | 449 | { |
451 | befs_inode_cachep = kmem_cache_create("befs_inode_cache", | 450 | befs_inode_cachep = kmem_cache_create("befs_inode_cache", |