* [PATCH] fsck.f2fs: simplify fsck_chk_quota_node in PREEN_MODE_1
@ 2018-03-26 12:47 Junling Zheng
2018-03-28 3:02 ` Chao Yu
0 siblings, 1 reply; 2+ messages in thread
From: Junling Zheng @ 2018-03-26 12:47 UTC (permalink / raw)
To: jaegeuk, yuchao0; +Cc: linux-f2fs-devel
Do not do fsck_chk_node_blk to simplify fsck_chk_quota_node in
PREEN_MODE_1, as well as fsck_chk_orphan_node.
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
---
fsck/fsck.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fsck/fsck.c b/fsck/fsck.c
index bc91839..91c8529 100644
--- a/fsck/fsck.c
+++ b/fsck/fsck.c
@@ -1671,6 +1671,7 @@ int fsck_chk_quota_node(struct f2fs_sb_info *sbi)
if (!IS_VALID_NID(sbi, ino) ||
!IS_VALID_BLK_ADDR(sbi, ni.blk_addr))
return -EINVAL;
+ continue;
}
ret = fsck_chk_node_blk(sbi, NULL, ino,
F2FS_FT_REG_FILE, TYPE_INODE, &blk_cnt, NULL);
--
2.16.2
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fsck.f2fs: simplify fsck_chk_quota_node in PREEN_MODE_1
2018-03-26 12:47 [PATCH] fsck.f2fs: simplify fsck_chk_quota_node in PREEN_MODE_1 Junling Zheng
@ 2018-03-28 3:02 ` Chao Yu
0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2018-03-28 3:02 UTC (permalink / raw)
To: Junling Zheng, jaegeuk; +Cc: linux-f2fs-devel
On 2018/3/26 20:47, Junling Zheng wrote:
> Do not do fsck_chk_node_blk to simplify fsck_chk_quota_node in
> PREEN_MODE_1, as well as fsck_chk_orphan_node.
>
> Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-28 3:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 12:47 [PATCH] fsck.f2fs: simplify fsck_chk_quota_node in PREEN_MODE_1 Junling Zheng
2018-03-28 3:02 ` Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).