Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp2931171rwe; Sun, 16 Apr 2023 08:12:11 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtS9bQu+ZQ9ehHEP4Qqbjmq2AgZg+M5BRcjdpB6VI3I7fuBnaow3468UJOZlJoqXobNaCI X-Received: by 2002:a17:903:290c:b0:1a6:7fb1:8de7 with SMTP id lh12-20020a170903290c00b001a67fb18de7mr9310623plb.24.1681657931259; Sun, 16 Apr 2023 08:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681657931; cv=none; d=google.com; s=arc-20160816; b=Zrd890yoEkM9qn0840LQNpRGJ+CoyahZgQwK21CaNdV4GottWv8SoDMSLpq94WJ5/V VxqM5tc2W3rKRupMtFWT03+pOYtvntRlQGUiFHLnBl5D59Cb7vGTJvrK89XrOhiC8TEm 3mjqmnHSBEDL/1+q4Bx5zpZGnaSysaQFtb8mMmGB5Di4nBl7flAnLK8zlBapjNzXUEaT sibyrWjngJyHzuLE1hB02E1NRKlkd9xUYqiM1FX097j0X4tC7lNo5Ow3hBrfu7o4xeia cz1dZSS26jCRk7YB3LdbMMOHBAjkqIzp8vtfKtrLv4BSJSZ1XoLwo4DCjZSSMfj3dYuv 1vKw== 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=8kWy6qlwfGbxTok1cwndlagKdgHelF0oUlKVjfB6O9U=; b=V+H71lOY/lpR9fvhEDS/DeEQVIFgrwIViT5IMwWNEip1jwuix4vbcrVbzDh7J+0zDJ LLkQn6FccfT8NU2Fa7YLzFiSFEupm+/IEBAD63Hqd5u0KwnsV6brGMDXABe1lwQWPmIj v5BxBg+s8RLp3hE+fqpHLs7bTC0UbvXECMmyPySNNFOTzY6b/MWmZ6ZDIKXgO3JRJwwg 5qOxz6WeQloiGd6WJRZvD8Bw0FMk0fZ3PVY+rl1P6jQ5pnmgXtoRKyD1KbDRbYeYt5v2 pxzkqd7HvOwj5k5Kw6AmprbQqzo0Nuq+p5uFk8S/zmJcyY0C4wezBSP3TaGdByT3KVrU NBRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sZ26q8S6; 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 s185-20020a632cc2000000b0051aeaf666dfsi9867095pgs.668.2023.04.16.08.11.54; Sun, 16 Apr 2023 08:12:11 -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=sZ26q8S6; 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 S229748AbjDPOxs (ORCPT + 99 others); Sun, 16 Apr 2023 10:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbjDPOxr (ORCPT ); Sun, 16 Apr 2023 10:53:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE12A2116 for ; Sun, 16 Apr 2023 07:53:44 -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 4792460C8F for ; Sun, 16 Apr 2023 14:53:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2027FC433D2; Sun, 16 Apr 2023 14:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681656823; bh=acLuCsGU+sHF10zE6PC+R+hrzrIz9BwAzVKxN2i6iwk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=sZ26q8S6dVszAjfA1VKZ8rgKZwmbfp8kvmviUbP24wcVhuGpqQEbK3rWabGaMKQcB rwTX7ZdoHse1QJ8qTh+I4Dh+b1KZBf63p5PzY3E2y9bjJ/f7TPpFrOQWekrrL2MH7/ fWzYzF3/KRJX5QNA4pOtitO0B1Gr99dq/woQ48thRxLSRjK5ejXuXNVBziK6SGdzSY JEKuAjVieFECTdnVZc86vm1BndFNojkRprbNcE+x+4VLHHB4AIdvvbRdFG9o+pU6dx z7nme3mVJVRH1fPlAhOKVKAPg+k62oDrco8DG7FEg4QLXP8xh0ONNxdTChTuUiFcYe WInCFIZVN6rnQ== Message-ID: <11b3a324-9378-da72-a4eb-00f0b814b25f@kernel.org> Date: Sun, 16 Apr 2023 22:53:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 2/2] erofs: cleanup i_format-related stuffs Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: LKML References: <20230414083027.12307-1-hsiangkao@linux.alibaba.com> <20230414083027.12307-2-hsiangkao@linux.alibaba.com> From: Chao Yu In-Reply-To: <20230414083027.12307-2-hsiangkao@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.1 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_HI,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/4/14 16:30, Gao Xiang wrote: > Switch EROFS_I_{VERSION,DATALAYOUT}_BITS into > EROFS_I_{VERSION,DATALAYOUT}_MASK. > > Also avoid erofs_bitrange() since its functionality is simple enough. > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,