[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230323000949.57608-1-jefflexu@linux.alibaba.com>
Date: Thu, 23 Mar 2023 08:09:41 +0800
From: Jingbo Xu <jefflexu@...ux.alibaba.com>
To: xiang@...nel.org, chao@...nel.org, huyue2@...lpad.com,
linux-erofs@...ts.ozlabs.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/8] erofs: cleanup of xattr handling
patch 1-4 are trivial cleanups .
patch 5-7 makes inline_getxattr() and inline_listxattr() unified as
iter_inline_xattr(), shared_getxattr() and shared_listxattr() unified as
iter_shared_xattr().
patch 8 converts the callback styled xattr_foreach() to two separate
xattr handling fucntions for listxattr and getxattr, i.e.
erofs_listxattr_foreach() and erofs_getxattr_foreach().
It has passed erofs/019 testcase of erofs-utils.
Jingbo Xu (8):
erofs: move several xattr helpers into xattr.c
erofs: rename init_inode_xattrs with erofs_ prefix
erofs: simplify erofs_xattr_generic_get()
erofs: introduce erofs_xattr_iter_fixup_aligned() helper
erofs: unify xattr_iter structures
erofs: make the size of read data stored in buffer_ofs
erofs: unify inline/share xattr iterators for listxattr/getxattr
erofs: use separate xattr parsers for listxattr/getxattr
fs/erofs/xattr.c | 705 ++++++++++++++++++++---------------------------
fs/erofs/xattr.h | 56 ----
2 files changed, 303 insertions(+), 458 deletions(-)
--
2.19.1.6.gb485710b
Powered by blists - more mailing lists