summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/attributes.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 23:50:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:26 +0200
commitc11e614d712c4f3e89f31a0119111c01163f1508 (patch)
tree7994093d4653a8f7ca2fc0d29206fae20e531475 /fs/hfsplus/attributes.c
parentfs/hfsplus/extents.c: fix concurrent acess of alloc_blocks (diff)
downloadlinux-c11e614d712c4f3e89f31a0119111c01163f1508.tar.xz
linux-c11e614d712c4f3e89f31a0119111c01163f1508.zip
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/hfsplus/attributes.c')
-rw-r--r--fs/hfsplus/attributes.c2
1 files changed, 1 insertions, 1 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 @@
static struct kmem_cache *hfsplus_attr_tree_cachep;
-int hfsplus_create_attr_tree_cache(void)
+int __init hfsplus_create_attr_tree_cache(void)
{
if (hfsplus_attr_tree_cachep)
return -EEXIST;