Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c11e614d authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

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: default avatarFabian Frederick <fabf@skynet.be>
Reviewed-by: default avatarVyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d7bdb996
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -367,7 +367,7 @@ typedef int (*search_strategy_t)(struct hfs_bnode *,
 */

/* attributes.c */
int hfsplus_create_attr_tree_cache(void);
int __init hfsplus_create_attr_tree_cache(void);
void hfsplus_destroy_attr_tree_cache(void);
hfsplus_attr_entry *hfsplus_alloc_attr_entry(void);
void hfsplus_destroy_attr_entry(hfsplus_attr_entry *entry_p);