commit | 206e61be29624499af46546076e835da93e6bde5 | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Wed Aug 12 17:48:21 2015 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Aug 20 09:00:06 2015 -0700 |
tree | 1a577cdfc880549cc115155fcf971d3ad5272015 | |
parent | 7b2a246b888ffb26fcec10adf7ff80b00fbad909 [diff] |
f2fs: avoid clear valid page In f2fs_delete_entry, if last dirent is remove from the dentry page, we will try to punch that page since it has no valid date in it. But truncate_hole which is used for punching could fail because of no memory or IO error, if that happened, we'd better skip clearing this valid dentry page. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>