Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1230208rwd; Tue, 13 Jun 2023 06:39:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tC1HgJ1W+VxnaNu3B0vYOPR4i4oZkLWvhG4pwTPNHGM58hchzx1bQmEf0fTKG/IPkSPwQ X-Received: by 2002:a17:902:dacc:b0:1af:c602:cd52 with SMTP id q12-20020a170902dacc00b001afc602cd52mr10083374plx.67.1686663554540; Tue, 13 Jun 2023 06:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686663554; cv=none; d=google.com; s=arc-20160816; b=QFuakHTu6RL3DT/bE8W4HZr67zSC2r2YfEjjwkzXNKaamFd8Kw+uvtqkncFqAUE47a 9DoztZDVSsutEwIyLeVzPQ3Uv1Fdl6fR52bQKQq5ynn460lEVd6ElRFVl69sbMrVVyLt FM17BaYr6eqlb/ynQdEuGPvzB9oEu6O59ZscOznmSCA8eYhcPRxIfpQSZLAkwdoJORd4 sgHhneust121QvgWDPwnv7Laos9blkmVA6TakWu8Y/6CmgBBXzSIT6ohnyM7kqUnnN9M CJXdp53vywPHG88f9BHBIuLA7z7KPIY5W9NS+jO1AbvBSCs4KaEoaaetWCxjyjbKJEAL UKwg== 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=n8ghrswgui+y/KKU45dGqkrwIqNSQ79eeHUf62GqH78=; b=aOaNKBMvLMA6ThJIgBoXD8uvFkpCNin9oRfslrKd50IVQVtL/U2CAF7nENOjofXjgL fe2DFgPoJM2iukELriN+RgPedbWNQbI3IgMVqOcUKpJgvkblczaQbzBtyEcGaUSmLxcW adJxZLq+HzIYnCWrLfK3X4lo2tPm4pz3TEdaN+1DK1VN+kyeI68qScDJDVe9UPXbHtjr NUJgP4XWpkVQ2dr8TCuaCsZk+wHrY0em5arXEUsXvg8m8EE0pQB31hSAFITNX9BcRHin 1KvSuUfYGnV/H+cTf+kIA2T1oE+5+XUAv4yFIj5GsRVUYUihtEEMY5KNi+Dmtzciat6u ig6w== 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 k18-20020a170902c41200b001a6a3954e0fsi9132573plk.18.2023.06.13.06.38.59; Tue, 13 Jun 2023 06:39:14 -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 S242535AbjFMNZh (ORCPT + 99 others); Tue, 13 Jun 2023 09:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242198AbjFMNZf (ORCPT ); Tue, 13 Jun 2023 09:25:35 -0400 Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D98AE6 for ; Tue, 13 Jun 2023 06:25:34 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vl2dtTf_1686662730; Received: from 30.221.134.22(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0Vl2dtTf_1686662730) by smtp.aliyun-inc.com; Tue, 13 Jun 2023 21:25:31 +0800 Message-ID: Date: Tue, 13 Jun 2023 21:25:30 +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 v8 5/5] erofs: use separate xattr parsers 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: <20230613074114.120115-1-jefflexu@linux.alibaba.com> <20230613074114.120115-6-jefflexu@linux.alibaba.com> From: Gao Xiang In-Reply-To: <20230613074114.120115-6-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/13 15:41, Jingbo Xu wrote: > There's a callback styled xattr parser, i.e. xattr_foreach(), which is > shared among listxattr and getxattr. > > Convert it to two separate xattr parsers to serve listxattr and getxattr > for better readability. > > Signed-off-by: Jingbo Xu Reviewed-by: Gao Xiang Thanks, Gao Xiang