]> Git Repo - linux.git/commit
f2fs: avoid clear valid page
authorChao Yu <[email protected]>
Wed, 12 Aug 2015 09:48:21 +0000 (17:48 +0800)
committerJaegeuk Kim <[email protected]>
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 <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
fs/f2fs/dir.c
This page took 0.050884 seconds and 4 git commands to generate.