lkml.org 
[lkml]   [2023]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] erofs: cleanup of xattr handling
Date
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

\
 
 \ /
  Last update: 2023-03-27 01:13    [W:0.055 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site