[PATCH v6 04/11] erofs-utils: lib: add erofs_read_xattrs_from_disk() helper

Gao Xiang hsiangkao at linux.alibaba.com
Wed Sep 6 18:12:40 AEST 2023



On 2023/9/5 18:02, Jingbo Xu wrote:
> Add erofs_read_xattrs_from_disk() helper reading extended attributes
> from disk, add checking if it's an opaque directory.
> 
> Move all xattr name related macros to xattr.c and introduce
> erofs_set_opaque_xattr() helper to hide all these details.
> 
> Signed-off-by: Jingbo Xu <jefflexu at linux.alibaba.com>

Add erofs_read_xattrs_from_disk() helper to read extended attributes
from disk as well as a helper to check if it's an opaque directory.

Move all xattr name related macros to xattr.c and introduce
erofs_set_opaque_xattr() helper to hide all these details.


I will update this manually, otherwise it looks good to me,

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list