mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 06:34:12 +08:00
erofs: rename init_inode_xattrs with erofs_ prefix
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>
This commit is contained in:
parent
399f36d8c6
commit
6020ffe76d
@ -29,7 +29,7 @@ struct xattr_iter {
|
|||||||
unsigned int ofs;
|
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 erofs_inode *const vi = EROFS_I(inode);
|
||||||
struct xattr_iter it;
|
struct xattr_iter it;
|
||||||
@ -405,7 +405,7 @@ int erofs_getxattr(struct inode *inode, int index,
|
|||||||
if (!name)
|
if (!name)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
ret = init_inode_xattrs(inode);
|
ret = erofs_init_inode_xattrs(inode);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
@ -600,7 +600,7 @@ ssize_t erofs_listxattr(struct dentry *dentry,
|
|||||||
int ret;
|
int ret;
|
||||||
struct listxattr_iter it;
|
struct listxattr_iter it;
|
||||||
|
|
||||||
ret = init_inode_xattrs(d_inode(dentry));
|
ret = erofs_init_inode_xattrs(d_inode(dentry));
|
||||||
if (ret == -ENOATTR)
|
if (ret == -ENOATTR)
|
||||||
return 0;
|
return 0;
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user