diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-01-06 07:28:43 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-10 02:02:27 +0100 |
commit | 9e5ba77fdbe3fea86b1e36903dd696b24b1c4607 (patch) | |
tree | 5bc6c2ce289f8011d68c1deb8756ab29abef8838 /fs/f2fs/data.c | |
parent | f2fs: align direct_io'ed data to section (diff) | |
download | linux-9e5ba77fdbe3fea86b1e36903dd696b24b1c4607.tar.xz linux-9e5ba77fdbe3fea86b1e36903dd696b24b1c4607.zip |
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 '')
0 files changed, 0 insertions, 0 deletions