From: Fabian Frederick Date: Thu, 3 Apr 2014 21:50:24 +0000 (-0700) Subject: fs/coda/inode.c: add __init to init_inodecache() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f356fd4d75fd66e62c803fc7a684863c4b38e59;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fs/coda/inode.c: add __init to init_inodecache() init_inodecache is only called by __init init_coda Signed-off-by: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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; 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); 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) 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),