diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-07-10 19:16:28 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-07-21 12:38:21 +0200 |
| commit | cb258530efcbf7c6675467c42012a498e838d90d (patch) | |
| tree | a7b15a8004378acb352525b1bf03bc418d98cd28 /fs/f2fs/file.c | |
| parent | 0245cface0f2e898e49cbdbee4bad48c83cb08f2 (diff) | |
f2fs: make more close to v4.13-rc1
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
| -rw-r--r-- | fs/f2fs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index cf218d5ba..15f45af8a 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -1062,11 +1062,11 @@ static int __exchange_data_block(struct inode *src_inode, while (len) { olen = min((pgoff_t)4 * ADDRS_PER_BLOCK, len); - src_blkaddr = f2fs_kvzalloc(sizeof(block_t) * olen, GFP_KERNEL); + src_blkaddr = kvzalloc(sizeof(block_t) * olen, GFP_KERNEL); if (!src_blkaddr) return -ENOMEM; - do_replace = f2fs_kvzalloc(sizeof(int) * olen, GFP_KERNEL); + do_replace = kvzalloc(sizeof(int) * olen, GFP_KERNEL); if (!do_replace) { f2fs_kvfree(src_blkaddr); return -ENOMEM; |
