summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
authorNamjae Jeon2013-01-16 16:08:30 +0100
committerJaegeuk Kim2013-01-22 02:48:38 +0100
commit6e6093a8f144414d904575da5fdea40cf14fb63e (patch)
tree84e959d4c9194a95d74169c04b9055e3475bc034 /fs/f2fs/checkpoint.c
parentf2fs: fix the debugfs entry creation path (diff)
downloadkernel-qcow2-linux-6e6093a8f144414d904575da5fdea40cf14fb63e.tar.gz
kernel-qcow2-linux-6e6093a8f144414d904575da5fdea40cf14fb63e.tar.xz
kernel-qcow2-linux-6e6093a8f144414d904575da5fdea40cf14fb63e.zip
f2fs: add __init to functions in init_f2fs_fs
Add __init to functions in init_f2fs_fs for code consistency. Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index d75c86a17893..ff3c8439af87 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -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);