[PATCH -next 0/6] Fix two issue about ext4 extended attribute

From: Ye Bin
Date: Mon Dec 05 2022 - 20:37:18 EST


From: Ye Bin <yebin10@xxxxxxxxxx>

This patchset fix two issues:
1. Patch [1]-[4] fix WARNING in ext4_expand_extra_isize_ea.
2. Patch [6] fix inode leak in 'ext4_xattr_inode_create()'.
3. Patch [5] is cleanup.

Ye Bin (6):
ext4: fix WARNING in ext4_expand_extra_isize_ea
ext4: add primary check extended attribute inode in
ext4_xattr_check_entries()
ext4: remove unnessary size check in ext4_xattr_inode_get()
ext4: allocate extended attribute value in vmalloc area
ext4: rename xattr_find_entry() and __xattr_check_inode()
ext4: fix inode leak in 'ext4_xattr_inode_create()'

fs/ext4/xattr.c | 82 ++++++++++++++++++++++++++++++++-----------------
fs/ext4/xattr.h | 11 ++-----
2 files changed, 57 insertions(+), 36 deletions(-)

--
2.31.1