diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-01-06 09:28:43 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-10 04:02:27 +0300 |
commit | 9e5ba77fdbe3fea86b1e36903dd696b24b1c4607 (patch) | |
tree | 5bc6c2ce289f8011d68c1deb8756ab29abef8838 /fs/f2fs/data.c | |
parent | 38aa0889b2504bbe68e47f51cf73bf7f0a7246bd (diff) | |
download | linux-9e5ba77fdbe3fea86b1e36903dd696b24b1c4607.tar.xz |
f2fs: get rid of kzalloc in __recover_inline_status
We use kzalloc to allocate memory in __recover_inline_status, and use this
all-zero memory to check the inline date content of inode page by comparing
them. This is low effective and not needed, let's check inline date content
directly.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
[Jaegeuk Kim: make the code more neat]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions