[PATCH v5 1/6] erofs: convert erofs_read_metabuf() to erofs_bread() for xattr
Gao Xiang
hsiangkao at linux.alibaba.com
Thu Jun 1 13:01:56 AEST 2023
On 2023/6/1 10:43, Jingbo Xu wrote:
> buf->inode is constant once initialized during erofs_buf's lifetime.
> Thus call erofs_init_metabuf() and erofs_bread() separately to avoid
> the repetition of assigning buf->inode when iterating xattrs.
>
> Signed-off-by: Jingbo Xu <jefflexu at linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list