Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1665090ioo; Sun, 22 May 2022 23:35:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE6K7s/91Wd5jgTJ/+5hXFfvQDiOTieQjyuqah5AQOVsIB8fGc7n5B01EsvDmYzLLO88fp X-Received: by 2002:a17:90a:77c5:b0:1df:dc04:526e with SMTP id e5-20020a17090a77c500b001dfdc04526emr22233586pjs.225.1653287732821; Sun, 22 May 2022 23:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653287732; cv=none; d=google.com; s=arc-20160816; b=bhoDVtZD6Jsuun4vTkKHBfZNIGr+u0g416eIEnmy8v2OV0fX8+0vxwhC9P6EVbNk9I Ly8rDFimzvI/akTLv+k97oU3aHFS8JQl4tuemGmFHRSM1VZfPCQ3AfvFda0sWYFs/U+F r7nlFQkkybIuUHV0Pcu5V96Wna4Xre4pFrDKlV8hMzN5xwvn52lyljRVtyQbGvFtKSoI Zacal9u/vYLfb8Oub//S6HbBC7mfd1ka8K/L/MP2bgR2J7q0GEDHLeQoY12++8q+/5vW dJtj6sZ3w0UBNwnjdwodDsDBV/TXtvZuvtr8V9KoKHPIppl4Lbm4WRQzfY1Lcdu2q26A u/Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1S20JCzcneSFdQsrs89B00Hokq/thRFgC1Iv5sb25ak=; b=dCImv7hA/z8sdRs6ppi1fIIabeY7XqX1Pn+133jBxuUCSWnV6jDFJKK9pAV9cNO5zt n2RFLDJNO04RsE6Zo6GPMyVLdEtwR//mN1zDBx404Yuo0+QQLwwlJOWUEio46DvCFEBS jaBPtfSDskpzowBFPwTNvr4U5Rojc9QfQwgt53tbYHFCnOgIOSDogYVJVRfhguRVlWVW jU4ogEOFXmaxpaW3q9CjiBrC5mFPOmA9Ho2X0RWf2CF8PTqmVf+FQLfY9m6zeZJQ6xld u9NRKByqpdiODDaCRGPw0eL7p1N+ZMHgGlQpguFyvRYahq2mBeWhx49gnQTzUgxdj3+i /Vbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H62aCog2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y16-20020aa79e10000000b005107e713c1dsi12632832pfq.273.2022.05.22.23.35.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:35:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H62aCog2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 54C54488AF; Sun, 22 May 2022 23:10:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240150AbiESPaU (ORCPT + 99 others); Thu, 19 May 2022 11:30:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235437AbiESPaR (ORCPT ); Thu, 19 May 2022 11:30:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABFB965A0 for ; Thu, 19 May 2022 08:30:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 51FA8618C2 for ; Thu, 19 May 2022 15:30:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B708C34113; Thu, 19 May 2022 15:30:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652974215; bh=tzRUqmBOG/j1qnFGl9Mf3VOLrKBnNATJIoMIm5y8DLU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=H62aCog291QEMK1cW22c3HyyS+7mpmPcZ5vI2yPWfGk5wrhlNzZr9I45Ox1FywU/l ZBijtlE6xiaZoRmzT65RGW2gXud9mnPHJsB+VQGv3GrScFWh4JhxTkieaJBZx3GpuM U2x5CMJ4opRjX80VkOo/96jrvYYhPr6tS+XiWBCptZWy3+hR3exmODHSPo2CYzQb5T GABJy/7V8QRvLXMp9SHwDQFK8Ueayf1/W4yLah8vAepLfYMHBiUtAbexd7wvLfnytC UpJEFgcH0jf021sqR+uD7oXfEWWvAOK4EiNlND8LdUhTSrvuAK1C97hQtzn2B258la RJoZJqzgzJnJw== Message-ID: <78b1e40e-69cd-465c-ee78-698eb38892be@kernel.org> Date: Thu, 19 May 2022 23:30:10 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH RESEND] f2fs: make f2fs_read_inline_data() more readable Content-Language: en-US To: Chao Liu , Jaegeuk Kim Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Yue Hu , Wayne Zhang , Chao Liu References: <20220519104010.2814819-1-chaoliu719@gmail.com> From: Chao Yu In-Reply-To: <20220519104010.2814819-1-chaoliu719@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/5/19 18:40, Chao Liu wrote: > From: Chao Liu > > In f2fs_read_inline_data(), it is confused with checking of > inline_data flag, as we checked it before calling. So this > patch add some comments for f2fs_has_inline_data(). > > Signed-off-by: Chao Liu Reviewed-by: Chao Yu Thanks,