Home
last modified time | relevance | path

Searched hist:"9 c39ec0c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/erofs/
H A Dxattr.c9c39ec0c Wed May 31 21:43:42 CDT 2023 Jingbo Xu <jefflexu@linux.alibaba.com> erofs: convert erofs_read_metabuf() to erofs_bread() for xattr

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@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230601024347.108469-2-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>