Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3748236rwl; Sun, 9 Apr 2023 23:50:16 -0700 (PDT) X-Google-Smtp-Source: AKy350blHF+SZBbSDW9uZ/3ZWg/cxybSJF6ZW5G9U1ykxRY/CM6ckvbto0LuMwuUtpRyVTTJ391c X-Received: by 2002:aa7:d9d5:0:b0:504:addb:1133 with SMTP id v21-20020aa7d9d5000000b00504addb1133mr1031424eds.33.1681109416007; Sun, 09 Apr 2023 23:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681109415; cv=none; d=google.com; s=arc-20160816; b=K1m9ROkt16aJ68bHXUwoyT8Rvw+o2enn6DDoR/Zckv41JKhGAe0M3Caz/d1T8Abxsw sVpVIx0VfX3x7r7GhS42pW4ByWvP1QQoN3BBbpun5G7xf411OvxzjcSurluatIZZk4bz 2/zDTFLhPjaWDmEmm0QW/K5SCYU+jlWAUwGXhjoBbziwGWD61NdC049NNu7XvgdKJCa4 f91WjR2lsvJYF+gwyc09OS9LhpGAb5pv4yq1OlSMNTSGpOL75TXF/Vff5wvF5jamTsQc 6CL6jVNyzj9ehgClM4WmT3/FQTcCy2L8QG9/PBf/Ug7nlRBbSTzVqKWR4ULbPJuYcOkD ap7g== 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:subject:user-agent:mime-version:date:message-id; bh=jvz6rUsUZv0/shfUOAgt6oAYGq04xkTmdShsPOpGUwE=; b=quj//Re87+tTIwT9Ca5076Yo7cSTrJe4sNufzz4/kly6KRdS7s98n/hlgvI8PGbPEL tz+LdIKirs6x7M1J8kY63A0+BaIxu96zDh9+csKIjlwXrCAsE9WG6xXrGJ7iTA/E9RM9 yQG8j3T7eVGvh3dhQ9a83gsCGQLCLDoKz6OFMq43EieeZ75smIyenCDncdYhKN1AYCf+ 4Li97gwEBOhlhbm0dur4xQj7ymOPu5YGaCHPpN1zsFRn5OVHcnXI3vUM/WUA6LhAofrv oL460AAUh4VOnfR8ctS/vQjXGpXqcYxGJeZ64xlzOwdSeYMJc6yEKWjVzj7IeKdJ6d6G HWvQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020aa7c950000000b005049a47a9cdsi2642604edt.658.2023.04.09.23.49.51; Sun, 09 Apr 2023 23:50:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbjDJGrW (ORCPT + 99 others); Mon, 10 Apr 2023 02:47:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjDJGrV (ORCPT ); Mon, 10 Apr 2023 02:47:21 -0400 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12E072D6A for ; Sun, 9 Apr 2023 23:47:19 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R851e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VfhjP98_1681109236; Received: from 30.97.49.25(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VfhjP98_1681109236) by smtp.aliyun-inc.com; Mon, 10 Apr 2023 14:47:17 +0800 Message-ID: <23d698af-5a8b-cfbd-6a08-5b1bf0c56085@linux.alibaba.com> Date: Mon, 10 Apr 2023 14:47:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 6/7] erofs: handle long xattr name prefixes properly To: Jingbo Xu , xiang@kernel.org, chao@kernel.org, huyue2@coolpad.com, linux-erofs@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org References: <20230407141710.113882-7-jefflexu@linux.alibaba.com> <20230410063918.47215-1-jefflexu@linux.alibaba.com> From: Gao Xiang In-Reply-To: <20230410063918.47215-1-jefflexu@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.9 required=5.0 tests=ENV_AND_HDR_SPF_MATCH, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 2023/4/10 14:39, Jingbo Xu wrote: > Make .{list,get}xattr routines adapted to long xattr name prefixes. > When the bit 7 of erofs_xattr_entry.e_name_index is set, it indicates > that it refers to a long xattr name prefix. > > Signed-off-by: Jingbo Xu > --- > v2: remove "idx" temporary variable (Gao Xiang) Reviewed-by: Gao Xiang Thanks, Gao Xiang