Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5720806rwp; Mon, 17 Jul 2023 08:29:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlFaosZK6uXVTsMPYxM09SGmrkmUoxT+pEG3KG/w242GJR48fVgzrVigmfuM00MPQ94S7LA4 X-Received: by 2002:aa7:d80b:0:b0:51e:2a17:3573 with SMTP id v11-20020aa7d80b000000b0051e2a173573mr10343081edq.32.1689607780141; Mon, 17 Jul 2023 08:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689607780; cv=none; d=google.com; s=arc-20160816; b=Uu3a6hcPcg4kO9A0KS/QPyGFuIkfu33uuryd22qOgqgF7u7okXeieqmwpGr4EDyRHX k90C8u6IIlM6/7WhyETbKinD8ZE5DVp07Tqusj6GDc9Bsh9a7x0RajJqeDwJmrj3CaJE UVKJsItSnfcoz/TSrF9gkvBeb9aHcVTGsyKbt1i7tsXXg2bgbQyuxQx66EffnD9fqLwr pJ7f0HQOwR8FmfMn6+5d03mqXs/tBP6RceWOLMBGChL+o4sdAJZufdn9ZMk51DGLboqG sToZQJbure/K7gel/xVnv4+sVhbRa6L1PVtuKcBJcjoIBVOKRmUkSB17l+veabPZ9qj7 NssQ== 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=/TmVX/QSghn4tnH6KdH6PiuCli10EM54eYf0vFBI8mQ=; fh=ZmRc99DZWDM1uv7onoJW0lgLpGyV+eniymEWRgYmwEU=; b=QzbwuUnL8HeJydi3FE0ylVs27WXVgWu8DwYe57V6rdzoPPofxqw8GPCYHsbw6ZOqf4 lpL6Q4M675iCMng7iCvskpPgZNP4t/aYo6H+0hn740DCt/N52ABAq7cuWa5yyEaYedVi gP/bOGXzO73zmJZZ25jc17QlbrARo4AdL31ZFc9+Yvy81s/I7gsuavckISPkMISDv1kO PDVlzrF4L091DDaXjFcKHLp2lmlUMvMNy6+8QqE+sC7bbWq3KZ3XQqqqQ2fhQIVy6PRM Cm1zul7Agqvu05Fgp55nG/Iu1DQrx2ln3I65FhAnl0kSk9t6zz2lf8FrHCpblnGjbFl0 LYAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GnyILK+x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a50fb81000000b005219bc76c7esi847997edq.113.2023.07.17.08.29.15; Mon, 17 Jul 2023 08:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GnyILK+x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231510AbjGQPV4 (ORCPT + 99 others); Mon, 17 Jul 2023 11:21:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231511AbjGQPVp (ORCPT ); Mon, 17 Jul 2023 11:21:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC4A8170C for ; Mon, 17 Jul 2023 08:21:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E995A610F4 for ; Mon, 17 Jul 2023 15:20:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 599CFC433C9; Mon, 17 Jul 2023 15:20:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689607214; bh=pmHa+uof/omh9/YyLI+lAkXG8CFJh+ryKNfzwo+yCiI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=GnyILK+xYovKsbVfNzoWkm9663M6Mcp18LctpBhc0uHXIV9W0VXk8z1f5UTmiT0K3 gUCuh3yzYqQSxpq55sY9cl8sAsBRxL6y4QWuy+U9Sfhc+cdj5Nyxr+Reud7F9V0Omw z5Yc68k6zZSinDmsBlmELbjXozXBtsd7RRt3XOg6yJpgKCuSf6EuGm47o5+ORNweJV yEGs7xbyn82Zve0ght6k6L0rHslTw38opZ5O8gQ3sD1p9aktjqXzaJ2/qLDq/kW5Jk fl3smMa9rSGLDntzLfiJFqp67kp2DdBmXvxx/MVj8INpzhwDuqFSPruU+BQUcu+Qd8 +QUmiX+WqOBKw== Message-ID: Date: Mon, 17 Jul 2023 23:20:11 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v1] f2fs: increase usage of folio_next_index() helper Content-Language: en-US To: Minjie Du , Jaegeuk Kim , "open list:F2FS FILE SYSTEM" , open list Cc: opensource.kernel@vivo.com References: <20230717071109.5663-1-duminjie@vivo.com> From: Chao Yu In-Reply-To: <20230717071109.5663-1-duminjie@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 2023/7/17 15:11, Minjie Du wrote: > Simplify code pattern of 'folio->index + folio_nr_pages(folio)' by using > the existing helper folio_next_index(). > > Signed-off-by: Minjie Du Reviewed-by: Chao Yu Thanks,