f2fs: avoid clear valid page
authorChao Yu <chao2.yu@samsung.com>
Wed, 12 Aug 2015 09:48:21 +0000 (17:48 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 20 Aug 2015 16:00:06 +0000 (09:00 -0700)
commit206e61be29624499af46546076e835da93e6bde5
tree1a577cdfc880549cc115155fcf971d3ad5272015
parent7b2a246b888ffb26fcec10adf7ff80b00fbad909
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>
fs/f2fs/dir.c
This page took 0.024499 seconds and 5 git commands to generate.