summaryrefslogtreecommitdiff
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-04-30 01:16:42 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-07 20:32:20 +0300
commit0414b004a894746921bbc05f05dced1e7907b092 (patch)
tree2ddc7616360f01d41b8e56a188d1595b3afdf474 /fs/f2fs/gc.c
parentf00d6fa727a4c4977241bd21910cafc139f77989 (diff)
downloadlinux-0414b004a894746921bbc05f05dced1e7907b092.tar.xz
f2fs: introduce f2fs_kmalloc to wrap kmalloc
This patch adds f2fs_kmalloc. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r--fs/f2fs/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 19e9fafc5c70..38d56f678912 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -96,7 +96,7 @@ int start_gc_thread(struct f2fs_sb_info *sbi)
dev_t dev = sbi->sb->s_bdev->bd_dev;
int err = 0;
- gc_th = kmalloc(sizeof(struct f2fs_gc_kthread), GFP_KERNEL);
+ gc_th = f2fs_kmalloc(sizeof(struct f2fs_gc_kthread), GFP_KERNEL);
if (!gc_th) {
err = -ENOMEM;
goto out;