[RFC PATCH 0/3] erofs-utils: fuse: support get/list xattr

Sheng Yong shengyong at oppo.com
Thu Aug 4 00:22:20 AEST 2022


Hi erofs folks,

I tried to make an erofs image based on an existing image. However,
the fuse client does not support xattr operations, so that the new
image cannot inherit xattrs from the old one which is mouted through
fuse.

So this patchset adds xattr support for erofs fuse client. Besides,
readdir is also modified to help mkfs.erofs get the correct file
type.

Sheng Yong (3):
  erofs-utils: fuse: set d_type for readdir
  erofs-utils: fuse: export erofs_xattr_foreach
  erofs-utils: fuse: support get/list xattr

 fsck/main.c           |  85 ++++--------------------
 fuse/main.c           | 140 ++++++++++++++++++++++++++++++++++++++-
 include/erofs/inode.h |   1 +
 include/erofs/xattr.h |  15 ++++-
 lib/inode.c           |  19 ++++++
 lib/xattr.c           | 149 ++++++++++++++++++++++++++++++++++++++++--
 6 files changed, 330 insertions(+), 79 deletions(-)

--
2.25.1

________________________________
OPPO

本电子邮件及其附件含有OPPO公司的保密信息,仅限于邮件指明的收件人使用(包含个人及群组)。禁止任何人在未经授权的情况下以任何形式使用。如果您错收了本邮件,请立即以电子邮件通知发件人并删除本邮件及其附件。

This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!


More information about the Linux-erofs mailing list