Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp175870lql; Sun, 10 Mar 2024 20:50:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmE6hlLLeNEFlG+l2ihzk9ooptL4tyQhxZzW0aAJir/w96ObvQpAfgRuLBCmS4CFZ2E+D45yvTC01t3SIqs5SuK+TRiI3WumnrLltrCQ== X-Google-Smtp-Source: AGHT+IG1lj/BJRHIUAU/E7YYZG1smM0MCKFVPJYeAx8d4JVtLr2F/oo8nSDUzJyA2tQdgfF6YHzh X-Received: by 2002:a05:620a:404a:b0:788:60fd:df7a with SMTP id i10-20020a05620a404a00b0078860fddf7amr5888583qko.26.1710129041298; Sun, 10 Mar 2024 20:50:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710129041; cv=pass; d=google.com; s=arc-20160816; b=Je8INCuKZnfqhecKtUhz/E66s8JNKDrqGrADzTCpAyaD9SCEDneuePpM5f1CFlcpEE r/WLIn+F6jxnlMngSH9mTbMSaMqOfX7C7o5tExvofQbG1T6MbEAKAb/QL5KLPHyVi2Ty WsG8vd+iW4nfwV/lmWCrETtfUFZIOgZpw5N6jCrCmmJU4ZMTmNd4pO36aZ0c6s1r9JsA MuV0+Pgk8tx9qY9oGKN+qSDS02DUAAo2vioW8nHXkC6VphUu10VM2nS3z4sfw/nY0Awx 2B4fOYqwcR3ihmOPLUdxabhkicMRM53t6fLJ8gvcLwZAuAAG98fsYqJJY8pGMrFijz9m KVTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=d6EPVzTLxVGVR/idnYVEnC/kEd87/TFvlTeFNfDn1hs=; fh=W6COFBd4BX4Q4YpnsinfP4Lifuq45kIfChsHXFM1YEQ=; b=Wvybf3Jis8TGEmnTY50h9mCY8Tz5hZi61I5/zTg9gw0bH9cX2Q/03CKiYd9o9TFzMR lbWjFrwfbv5cEXRbWAH6QhfbOd7Rpu92TLlna9AjJJoXbO6uBY/kiVI4wVXq9vPhj3Br +xJj7WCssxwiWxAp+odRaQqY3Wrgy/NzFwCKbT46vlilDEniwcGctgPvboeHSn9pQcMH IU289eXRio+e7oC/qmnhDEhqSf2aY0M7rjVSlEed6LDhlsM2FlLelFkeS3rxdAXldF9U LJM+CedTLZKfN9BwYv5qY7pPXOwqWQWKgThHykwkYBT+yVIzO1DIXsz1iz3dTCY3l+yk wcTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Glp0MAwd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s5-20020a05620a16a500b007882aa68c4esi4606754qkj.296.2024.03.10.20.50.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 20:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Glp0MAwd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 09F9A1C212C9 for ; Mon, 11 Mar 2024 03:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3795E1C33; Mon, 11 Mar 2024 03:50:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Glp0MAwd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BE7916FF4F for ; Mon, 11 Mar 2024 03:50:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710129035; cv=none; b=mgDsNNJPjLV4S8M2/kITBMj+AK7oBMe5t/kXx8k1KpEzy6F0Hp/lyh16VpHycJNrZlqNKjEfkrpmHYqx2ZUtqqAzwhgr8Z5KQ7INTJuGht+hQMGf2B+GyeBByzJ8ON4rTkf2F5JPitQdgtQhWQF7duEgEflwgOo0X9MblWJp5HU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710129035; c=relaxed/simple; bh=W+4Sfk9+nuHnW8aLHz34FpkrVlLiz/zJEGeiijQZNcw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P0NLpNAxSG+V/7jKaxsNlMSK2MG3Zv38NYJ1vTqWIGQHyFpeEXsM7FNexAKIg9h78Qol+Ly7SrcFNivhU2UzOng28t7xPEFZnkFGTJPfRyoR5M2kRK3IBKG8V4x6LVrEYFNuXn0oYbm+77G3A7M3rCdCzS9mt9P2fov5Ms/X10g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Glp0MAwd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB53DC433C7; Mon, 11 Mar 2024 03:50:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710129034; bh=W+4Sfk9+nuHnW8aLHz34FpkrVlLiz/zJEGeiijQZNcw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Glp0MAwdBKX9w2i13VoX/xD6FHJOXNDoicz0GLPtX59QsySdSzq8US4zme6w4b6Pz HtS610j49I435APdmlZLEq8fbzUexLj6sZFvw5aarZ357C6EuS1qHELzXpJpOaq+4I 2jz7f2Wu1Hxo8f/qrUasVY15TA96+qmduAecC2dKiIP5e6O72XWgPhDxrOnqgGAelo HXaYuEjnP8sVALBJIrXszAomnd9HYwE1tgYm7HvnJMR8FcW6VtwwBLLZamqCHCV1F6 294zi8UVPwguYY4bTcLiTwHoX8NEJHEaZKhYs8uAb+gToJmTdmIxeaRtU8wg+hShq9 43HeSnCFRY5Gg== Message-ID: <01beda7d-5f53-4dda-8df4-8a1cd71f3bfc@kernel.org> Date: Mon, 11 Mar 2024 11:50:29 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V8] f2fs: unify the error handling of f2fs_is_valid_blkaddr Content-Language: en-US To: Zhiguo Niu , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, niuzhiguo84@gmail.com, ke.wang@unisoc.com, hongyu.jin@unisoc.com References: <1709879125-24671-1-git-send-email-zhiguo.niu@unisoc.com> From: Chao Yu In-Reply-To: <1709879125-24671-1-git-send-email-zhiguo.niu@unisoc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/3/8 14:25, Zhiguo Niu wrote: > There are some cases of f2fs_is_valid_blkaddr not handled as > ERROR_INVALID_BLKADDR,so unify the error handling about all of > f2fs_is_valid_blkaddr. > Do f2fs_handle_error in __f2fs_is_valid_blkaddr for cleanup. > > Signed-off-by: Zhiguo Niu > Signed-off-by: Chao Yu Reviewed-by: Chao Yu Thanks,