OSDN Git Service

f2fs: add __init to functions in init_f2fs_fs
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / fs / f2fs / checkpoint.c
index d75c86a..ff3c843 100644 (file)
@@ -771,7 +771,7 @@ void init_orphan_info(struct f2fs_sb_info *sbi)
        sbi->n_orphans = 0;
 }
 
-int create_checkpoint_caches(void)
+int __init create_checkpoint_caches(void)
 {
        orphan_entry_slab = f2fs_kmem_cache_create("f2fs_orphan_entry",
                        sizeof(struct orphan_inode_entry), NULL);