Re: [f2fs-dev] [PATCH 1/1] f2fs-toos:fsck.f2fs Fix bad return value
From: Chao Yu
Date: Wed Oct 28 2020 - 21:01:59 EST
On 2020/10/26 17:40, Robin Hsu via Linux-f2fs-devel wrote:
'ret' should not have been used here: otherwise, it would be wrongly used
as the error code and then be returned from main().
Signed-off-by: Robin Hsu <robinhsu@xxxxxxxxxx>
BTW, how about changing 'ret = EXIT_ERR_CODE' to
'ret = FSCK_ERRORS_LEFT_UNCORRECTED', it's not critical though.
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,