fs/coda/inode.c: add __init to init_inodecache()
authorFabian Frederick <fabf@skynet.be>
Thu, 3 Apr 2014 21:50:24 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:25 +0000 (16:21 -0700)
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>
fs/coda/coda_int.h
fs/coda/inode.c

index b7143cf783ace6a6231fa1acb6f7467c2992fd3f..381c993b14270553c68586763322290c4495b1a9 100644 (file)
@@ -10,7 +10,7 @@ extern int coda_hard;
 extern int coda_fake_statfs;
 
 void coda_destroy_inodecache(void);
-int coda_init_inodecache(void);
+int __init coda_init_inodecache(void);
 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
 void coda_sysctl_init(void);
 void coda_sysctl_clean(void);
index 62618ec9356cd65e6810337b6b3731fba8db75be..626abc02b694e074cd9dc631cc619b7d8c9e44ed 100644 (file)
@@ -73,7 +73,7 @@ static void init_once(void *foo)
        inode_init_once(&ei->vfs_inode);
 }
 
-int coda_init_inodecache(void)
+int __init coda_init_inodecache(void)
 {
        coda_inode_cachep = kmem_cache_create("coda_inode_cache",
                                sizeof(struct coda_inode_info),