diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-04-03 17:50:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:21:25 -0400 |
commit | 5f356fd4d75fd66e62c803fc7a684863c4b38e59 (patch) | |
tree | 17ed33b27bcd218bb24796855375a390b46d9f5d /fs/coda | |
parent | dac52fc1826a788d2591a4f77e3c482b30f577e2 (diff) |
fs/coda/inode.c: add __init to init_inodecache()
init_inodecache is only called by __init init_coda
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/coda')
-rw-r--r-- | fs/coda/coda_int.h | 2 | ||||
-rw-r--r-- | fs/coda/inode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/coda/coda_int.h b/fs/coda/coda_int.h index b7143cf783ac..381c993b1427 100644 --- a/fs/coda/coda_int.h +++ b/fs/coda/coda_int.h | |||
@@ -10,7 +10,7 @@ extern int coda_hard; | |||
10 | extern int coda_fake_statfs; | 10 | extern int coda_fake_statfs; |
11 | 11 | ||
12 | void coda_destroy_inodecache(void); | 12 | void coda_destroy_inodecache(void); |
13 | int coda_init_inodecache(void); | 13 | int __init coda_init_inodecache(void); |
14 | int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync); | 14 | int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync); |
15 | void coda_sysctl_init(void); | 15 | void coda_sysctl_init(void); |
16 | void coda_sysctl_clean(void); | 16 | void coda_sysctl_clean(void); |
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index 62618ec9356c..626abc02b694 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c | |||
@@ -73,7 +73,7 @@ static void init_once(void *foo) | |||
73 | inode_init_once(&ei->vfs_inode); | 73 | inode_init_once(&ei->vfs_inode); |
74 | } | 74 | } |
75 | 75 | ||
76 | int coda_init_inodecache(void) | 76 | int __init coda_init_inodecache(void) |
77 | { | 77 | { |
78 | coda_inode_cachep = kmem_cache_create("coda_inode_cache", | 78 | coda_inode_cachep = kmem_cache_create("coda_inode_cache", |
79 | sizeof(struct coda_inode_info), | 79 | sizeof(struct coda_inode_info), |