]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
erofs: tidy up erofs_init_inode_xattrs()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 22 Jan 2026 14:36:33 +0000 (22:36 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 22 Jan 2026 16:08:54 +0000 (00:08 +0800)
commit58d081ea4eab924b9e5a55cbb151bde847068c8d
treef77673f6545294b2d2115f4dd83d800d2f6e2677
parenta221a737406501c9036d00667095d61317d50d7f
erofs: tidy up erofs_init_inode_xattrs()

Mainly get rid of the use of `struct erofs_xattr_iter`, as it is
no longer needed now that meta buffers are used.

This also simplifies the code and uses an early return when there
are no xattrs.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/xattr.c