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>
This commit is contained in:

committed by
Linus Torvalds

parent
d7bdb996ae
commit
c11e614d71
@@ -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;
|
||||
|
Reference in New Issue
Block a user