commit | 9e5ba77fdbe3fea86b1e36903dd696b24b1c4607 | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Tue Jan 06 14:28:43 2015 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jan 09 17:02:27 2015 -0800 |
tree | 5bc6c2ce289f8011d68c1deb8756ab29abef8838 | |
parent | 38aa0889b2504bbe68e47f51cf73bf7f0a7246bd [diff] |
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>