Skip to content

Commit

Permalink
erofs: rename init_inode_xattrs with erofs_ prefix
Browse files Browse the repository at this point in the history
Rename init_inode_xattrs() to erofs_init_inode_xattrs() without logic
change.

Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230330082910.125374-3-jefflexu@linux.alibaba.com
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Acked-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
  • Loading branch information
Jingbo Xu authored and Gao Xiang committed Apr 16, 2023
1 parent 399f36d commit 6020ffe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/erofs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -405,7 +405,7 @@ int erofs_getxattr(struct inode *inode, int index,
if (!name)
return -EINVAL;

ret = init_inode_xattrs(inode);
ret = erofs_init_inode_xattrs(inode);
if (ret)
return ret;

Expand Down Expand Up @@ -600,7 +600,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)
Expand Down

0 comments on commit 6020ffe

Please sign in to comment.