mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Reviewed-by: Vyacheslav Dubeyko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d7bdb996ae
commit
c11e614d71
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue