Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3412628pxx; Mon, 2 Nov 2020 08:13:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+Jb+S/jKc0B9X8DMw5298xOEXGiqxE1KLV1Il3rAqBk6DCU4h1aV7ybJWwIEFfies3bFc X-Received: by 2002:aa7:d5d8:: with SMTP id d24mr18165744eds.8.1604333607415; Mon, 02 Nov 2020 08:13:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604333607; cv=none; d=google.com; s=arc-20160816; b=04fDrxgWoIp6K7No7Q9DiQ6tv3zSBQcwbXPXQr0HnVjkUjbfaqUsZg2o+23BlRKS35 wC9+eVTuS+sIM0UGsB/CdweZkOVhUANTjOSTq9qPNRCUICexJPJthNFKVB8bHfb0XCQP 9emw2lm24HNQD9vmIu8p9YCR4b4iFpYOjrIndOdGzSkFTikGr3taoQHX9N7mUPXOOgpa ngcNhi68q5mm6I14gkHLPJ89H1OuMtiB0wVayph52D0EdhCSD8dDLFB4f9EHpi3OGUv0 sxvCvp4+ZlWHxwuGB1xXt7MzlBHKtagIoVpjatU7Gt0e2R3LbTPj+9ECc9h6wXVH6/UT xjkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aN9ADHWvHYLwcBMuPt2+V78hd3ut0nv6GGHOaLbZgZM=; b=d6/9hRMStjYfTwxrle5bvB4xieNL5VaSNhGqnCGXlngobff5yn5gNqdjjci2iUp3G7 lTr/4eFGDIPC1iJVGTT5Fkh3GDlupmiYBVo3PHCcGfHmrcR/57NMjvv+yiR22VwgvG2w 0BAijsJPX7sS4fz5Mv2cIy301oe+jPUuVfpXthgaSI9CI9XpukcMEeGlBw84XrXl6YAD 38plXVQFr0Hp9dmJthQdXrIeNZQwlRYSmawE9JjElJMFPlH8/UGTfQ1dRnkuCjWFO5HH FN+3jJFA7IOVJjoO1lnqiZSF1kuszs7KxWigYQI0GKSiMfjjlJKUM4hiyVJjQ2suDx3N 0qPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ltfOBxu8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si10880738ejz.330.2020.11.02.08.13.04; Mon, 02 Nov 2020 08:13:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ltfOBxu8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727034AbgKBQJx (ORCPT + 99 others); Mon, 2 Nov 2020 11:09:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:53526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726945AbgKBQJw (ORCPT ); Mon, 2 Nov 2020 11:09:52 -0500 Received: from google.com (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EFE7122277; Mon, 2 Nov 2020 16:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604333392; bh=KjbbvUyNRfIy/F798a/hF/fB5rEyDicNk6ioLYZH98g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ltfOBxu85u043HltVYcOv7N/cagykHReMo1d5xjIWgxmkAW1neFILugRAigchLKYy XiUB8T76w27vWSGkQocoKqm+sS/KJT7OONgPFxTkDLYgtxTujn+79cCnb3/KsPMmlm dg69SJDU8LH+QRkGaKC0rco7g0lSF+Sjj2BzdBiI= Date: Mon, 2 Nov 2020 08:09:50 -0800 From: Jaegeuk Kim To: Chao Yu Cc: Robin Hsu , linux-f2fs-devel@lists.sourceforge.net, chao@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [f2fs-dev] [PATCH 1/1] f2fs-toos:fsck.f2fs Fix bad return value Message-ID: <20201102160950.GB529594@google.com> References: <20201026094000.1500425-1-robinhsu@google.com> <299c9027-e137-83ff-b2ba-8af07144a488@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <299c9027-e137-83ff-b2ba-8af07144a488@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/28, Chao Yu wrote: > 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 > > BTW, how about changing 'ret = EXIT_ERR_CODE' to > 'ret = FSCK_ERRORS_LEFT_UNCORRECTED', it's not critical though. > > Reviewed-by: Chao Yu I think it'd be good to go as is for now. :) > > Thanks,