commit | 0414b004a894746921bbc05f05dced1e7907b092 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Apr 29 15:16:42 2016 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sat May 07 10:32:20 2016 -0700 |
tree | 2ddc7616360f01d41b8e56a188d1595b3afdf474 | |
parent | f00d6fa727a4c4977241bd21910cafc139f77989 [diff] [blame] |
f2fs: introduce f2fs_kmalloc to wrap kmalloc This patch adds f2fs_kmalloc. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 19e9faf..38d56f6 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c
@@ -96,7 +96,7 @@ 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;