aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 17:50:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 19:21:26 -0400
commitc11e614d712c4f3e89f31a0119111c01163f1508 (patch)
tree7994093d4653a8f7ca2fc0d29206fae20e531475 /fs
parentd7bdb996aef67ea24c62707ca4e29b07025e9683 (diff)
fs/hfsplus/attributes.c: add __init to hfsplus_create_attr_tree_cache()
hfsplus_create_attr_tree_cache is only called by __init init_hfsplus_fs Signed-off-by: Fabian Frederick <fabf@skynet.be> Reviewed-by: Vyacheslav Dubeyko <slava@dubeyko.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/hfsplus/attributes.c2
-rw-r--r--fs/hfsplus/hfsplus_fs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfsplus/attributes.c b/fs/hfsplus/attributes.c
index 0f47890299c4..caf89a7be0a1 100644
--- a/fs/hfsplus/attributes.c
+++ b/fs/hfsplus/attributes.c
@@ -11,7 +11,7 @@
11 11
12static struct kmem_cache *hfsplus_attr_tree_cachep; 12static struct kmem_cache *hfsplus_attr_tree_cachep;
13 13
14int hfsplus_create_attr_tree_cache(void) 14int __init hfsplus_create_attr_tree_cache(void)
15{ 15{
16 if (hfsplus_attr_tree_cachep) 16 if (hfsplus_attr_tree_cachep)
17 return -EEXIST; 17 return -EEXIST;
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h
index 62d571eb69ba..83dc29286b10 100644
--- a/fs/hfsplus/hfsplus_fs.h
+++ b/fs/hfsplus/hfsplus_fs.h
@@ -367,7 +367,7 @@ typedef int (*search_strategy_t)(struct hfs_bnode *,
367 */ 367 */
368 368
369/* attributes.c */ 369/* attributes.c */
370int hfsplus_create_attr_tree_cache(void); 370int __init hfsplus_create_attr_tree_cache(void);
371void hfsplus_destroy_attr_tree_cache(void); 371void hfsplus_destroy_attr_tree_cache(void);
372hfsplus_attr_entry *hfsplus_alloc_attr_entry(void); 372hfsplus_attr_entry *hfsplus_alloc_attr_entry(void);
373void hfsplus_destroy_attr_entry(hfsplus_attr_entry *entry_p); 373void hfsplus_destroy_attr_entry(hfsplus_attr_entry *entry_p);