mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/8] erofs: cleanup of xattr handling
@ 2023-03-23  0:09 Jingbo Xu
  2023-03-23  0:09 ` [PATCH 1/8] erofs: move several xattr helpers into xattr.c Jingbo Xu
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Jingbo Xu @ 2023-03-23  0:09 UTC (permalink / raw)
  To: xiang, chao, huyue2, linux-erofs; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-28  8:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23  0:09 [PATCH 0/8] erofs: cleanup of xattr handling Jingbo Xu
2023-03-23  0:09 ` [PATCH 1/8] erofs: move several xattr helpers into xattr.c Jingbo Xu
2023-03-28  8:23   ` Gao Xiang
2023-03-23  0:09 ` [PATCH 2/8] erofs: rename init_inode_xattrs with erofs_ prefix Jingbo Xu
2023-03-28  8:23   ` Gao Xiang
2023-03-23  0:09 ` [PATCH 3/8] erofs: simplify erofs_xattr_generic_get() Jingbo Xu
2023-03-28  8:57   ` Gao Xiang
2023-03-23  0:09 ` [PATCH 4/8] erofs: introduce erofs_xattr_iter_fixup_aligned() helper Jingbo Xu
2023-03-23  0:09 ` [PATCH 5/8] erofs: unify xattr_iter structures Jingbo Xu
2023-03-23  0:09 ` [PATCH 6/8] erofs: make the size of read data stored in buffer_ofs Jingbo Xu
2023-03-23  0:09 ` [PATCH 7/8] erofs: unify inline/share xattr iterators for listxattr/getxattr Jingbo Xu
2023-03-23  0:09 ` [PATCH 8/8] erofs: use separate xattr parsers " Jingbo Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®