From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09C14C76196 for ; Tue, 28 Mar 2023 08:24:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231834AbjC1IYN (ORCPT ); Tue, 28 Mar 2023 04:24:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjC1IYK (ORCPT ); Tue, 28 Mar 2023 04:24:10 -0400 Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EB0E4EC1 for ; Tue, 28 Mar 2023 01:24:02 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;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_---0VesNAiw_1679991838; Received: from 30.221.134.40(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VesNAiw_1679991838) by smtp.aliyun-inc.com; Tue, 28 Mar 2023 16:23:59 +0800 Message-ID: Date: Tue, 28 Mar 2023 16:23:58 +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 2/8] erofs: rename init_inode_xattrs with erofs_ prefix To: Jingbo Xu , xiang@kernel.org, chao@kernel.org, huyue2@coolpad.com, linux-erofs@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org References: <20230323000949.57608-1-jefflexu@linux.alibaba.com> <20230323000949.57608-3-jefflexu@linux.alibaba.com> From: Gao Xiang In-Reply-To: <20230323000949.57608-3-jefflexu@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/3/23 08:09, Jingbo Xu wrote: > Rename init_inode_xattrs() to erofs_init_inode_xattrs() without logic > change. > > Signed-off-by: Jingbo Xu Reviewed-by: Gao Xiang Thanks, Gao Xiang > --- > fs/erofs/xattr.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/fs/erofs/xattr.c b/fs/erofs/xattr.c > index 760ec864a39c..ab4517e5ec84 100644 > --- a/fs/erofs/xattr.c > +++ b/fs/erofs/xattr.c > @@ -29,7 +29,7 @@ struct xattr_iter { > unsigned int ofs; > }; > > -static int init_inode_xattrs(struct inode *inode) > +static int erofs_init_inode_xattrs(struct inode *inode) > { > struct erofs_inode *const vi = EROFS_I(inode); > struct xattr_iter it; > @@ -404,7 +404,7 @@ static int erofs_getxattr(struct inode *inode, int index, const char *name, > if (!name) > return -EINVAL; > > - ret = init_inode_xattrs(inode); > + ret = erofs_init_inode_xattrs(inode); > if (ret) > return ret; > > @@ -619,7 +619,7 @@ ssize_t erofs_listxattr(struct dentry *dentry, > int ret; > struct listxattr_iter it; > > - ret = init_inode_xattrs(d_inode(dentry)); > + ret = erofs_init_inode_xattrs(d_inode(dentry)); > if (ret == -ENOATTR) > return 0; > if (ret)