Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5618071rwd; Mon, 12 Jun 2023 07:31:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UV2i6ekL8meG/hF5mQWtMKF+ABEI71aSbsHxRbwK4H+oE1xlo9qvCtdvascGx8KGhlG0z X-Received: by 2002:a05:6402:554:b0:510:6ccf:84aa with SMTP id i20-20020a056402055400b005106ccf84aamr5545322edx.32.1686580273640; Mon, 12 Jun 2023 07:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686580273; cv=none; d=google.com; s=arc-20160816; b=pH1lNGqprMJeu9ovjWKtX3dY5pSFjuVMG8PQGSinhdNa60mn6ZF9QvUMA/gVUIK1tR 9jGOwG1HpTKQ6hnpMW79xdiKnmp7pgbs89U5mFt3FIZ6Gd0jJdOwAVcYRuoqc3qoGwuj pXWO/OrvI+V77sa+ySA2EWtCfbZ8N8ZhXp81tLowMHuR3qjZXjmZTp8BspCy4Zb526vr MKn3N1vOBG5egw9NzOEs3WWaH5hjSPzFXrZ1/nETuvEWgowlDX5DpazfrY4pCeZe3TBk CuiE4OeU/uBhOBxpFkCqhbTwM0k0I37IJte0Wpp/0GvChd7ZYBeJ5sBp/Ay5dpd42VGM O3XQ== 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=7WNOPeTgHSmMXewv8CC6NOHeBT/R06tMyHwQM8VFsFs=; b=z9EcpULh0A8WC6mZe9SQ8Z2oBCWNWOvuOvrj2fTu4mMR9CU8RjFHB/MAzepGztX43Q DpAgPXG3Dfhounp2Icqh46XZWcxjswjo/RlM1+McrEZ0fSNyCKvocRlhFT4nCWyY9xCv m/2KZNmUBCv8rgucDKvOzIoztfXm+55BTxhU2KX6MJnh+O4QDmSjA9OShjffEqBWxLS8 nlEE5UF0POnULcGjghCx9ttunx7gKyw3ATWKWFGCVPrt1RSvTEAj95RmZCWQ9vRhh3gq rD2fECPUuvqmikmTqjXw2NUmXbeGwlg7SpnjVvAGTOj88VZ3iIWSABwib+EaXGvfpyLg Ri6Q== 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 bo10-20020a0564020b2a00b005185ef8d2fcsi369037edb.500.2023.06.12.07.30.48; Mon, 12 Jun 2023 07:31:13 -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 S238410AbjFLOXN (ORCPT + 99 others); Mon, 12 Jun 2023 10:23:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237531AbjFLOXA (ORCPT ); Mon, 12 Jun 2023 10:23:00 -0400 Received: from out199-3.us.a.mail.aliyun.com (out199-3.us.a.mail.aliyun.com [47.90.199.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0F463AB3 for ; Mon, 12 Jun 2023 07:20:48 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R481e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vl-Tgs7_1686579446; Received: from 192.168.1.5(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0Vl-Tgs7_1686579446) by smtp.aliyun-inc.com; Mon, 12 Jun 2023 22:17:27 +0800 Message-ID: <5a9f41c1-3f29-ba35-8a45-634fca6a8bcb@linux.alibaba.com> Date: Mon, 12 Jun 2023 22:17:26 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v7 4/5] erofs: unify inline/shared xattr iterators for listxattr/getxattr To: Jingbo Xu , xiang@kernel.org, chao@kernel.org, huyue2@coolpad.com, linux-erofs@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org References: <20230612123745.36323-1-jefflexu@linux.alibaba.com> <20230612123745.36323-5-jefflexu@linux.alibaba.com> From: Gao Xiang In-Reply-To: <20230612123745.36323-5-jefflexu@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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/6/12 20:37, Jingbo Xu wrote: > Make inline_{list,get}xattr() as well as inline_xattr_iter_begin() > unified as erofs_iter_inline_xattr(), and shared_{list,get}xattr() > unified as erofs_iter_shared_xattr(). > Could you use erofs_xattr_iter_inline() and erofs_xattr_iter_shared()? Thanks, Gao Xiang