summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/dir.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-04-29 15:16:42 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-07 10:32:20 -0700
commit0414b004a894746921bbc05f05dced1e7907b092 (patch)
tree2ddc7616360f01d41b8e56a188d1595b3afdf474 /fs/f2fs/dir.c
parentf00d6fa727a4c4977241bd21910cafc139f77989 (diff)
downloadtalos-obmc-linux-0414b004a894746921bbc05f05dced1e7907b092.tar.gz
talos-obmc-linux-0414b004a894746921bbc05f05dced1e7907b092.zip
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/dir.c')
-rw-r--r--fs/f2fs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c
index dbfc1d1375a0..6bd059591405 100644
--- a/fs/f2fs/dir.c
+++ b/fs/f2fs/dir.c
@@ -805,7 +805,7 @@ bool f2fs_fill_dentries(struct dir_context *ctx, struct f2fs_dentry_ptr *d,
int save_len = fstr->len;
int ret;
- de_name.name = kmalloc(de_name.len, GFP_NOFS);
+ de_name.name = f2fs_kmalloc(de_name.len, GFP_NOFS);
if (!de_name.name)
return false;
OpenPOWER on IntegriCloud