diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-04-29 15:16:42 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-07 10:32:20 -0700 |
commit | 0414b004a894746921bbc05f05dced1e7907b092 (patch) | |
tree | 2ddc7616360f01d41b8e56a188d1595b3afdf474 /fs/f2fs/inline.c | |
parent | f00d6fa727a4c4977241bd21910cafc139f77989 (diff) | |
download | linux-stable-0414b004a894746921bbc05f05dced1e7907b092.tar.gz linux-stable-0414b004a894746921bbc05f05dced1e7907b092.tar.bz2 linux-stable-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/inline.c')
-rw-r--r-- | fs/f2fs/inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index e61084cac5f1..33830b251426 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -465,7 +465,7 @@ static int f2fs_move_rehashed_dirents(struct inode *dir, struct page *ipage, struct f2fs_inline_dentry *backup_dentry; int err; - backup_dentry = kmalloc(sizeof(struct f2fs_inline_dentry), + backup_dentry = f2fs_kmalloc(sizeof(struct f2fs_inline_dentry), GFP_F2FS_ZERO); if (!backup_dentry) return -ENOMEM; |