[v3,0/4] Fix two issue about ext4 extended attribute

Message ID 20221208023233.1231330-1-yebin@huaweicloud.com
Headers
Series Fix two issue about ext4 extended attribute |

Message

Ye Bin Dec. 8, 2022, 2:32 a.m. UTC
  From: Ye Bin <yebin10@huawei.com>

Diff v3 vs v2:
1. Remove patch [2-3].
2. Modify change log according to Bagas Sanjaya's suggestions.

Diff v2 vs v1:
1.Modify commit message about "ext4: fix WARNING in ext4_expand_extra_isize_ea"
2.Modify the indentation of arguments about "ext4: rename xattr_find_entry()
and __xattr_check_inode()"

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 (4):
  ext4: fix WARNING in ext4_expand_extra_isize_ea
  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 | 42 +++++++++++++++++++++++-------------------
 fs/ext4/xattr.h | 11 +++--------
 2 files changed, 26 insertions(+), 27 deletions(-)