]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: correct the misjudgment in ext4_iget_extra_inode
authorBaokun Li <libaokun1@huawei.com>
Thu, 16 Jun 2022 02:13:58 +0000 (10:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:18:13 +0000 (11:18 +0200)
commit76710655bc539431fb92b46e91d38ae7180b2ef7
tree96eeccaa3de423a62e37277b77de7b49979c4803
parent917dc4c254bdc79661842b46b6cd91a44828a718
ext4: correct the misjudgment in ext4_iget_extra_inode

commit d893047c14019602ba919f8189f3182d86aa951a upstream.

Use the EXT4_INODE_HAS_XATTR_SPACE macro to more accurately
determine whether the inode have xattr space.

Cc: stable@kernel.org
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220616021358.2504451-5-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/inode.c