fs: ext4: change GFP_KERNEL to GFP_NOFS to avoid deadlock

[ Upstream commit 1534f72dc2 ]

The parent function ext4_xattr_inode_lookup_create already uses GFP_NOFS for memory alloction, so the function ext4_xattr_inode_cache_find should use same gfp_flag.

Signed-off-by: chuguangqing <chuguangqing@inspur.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
chuguangqing 2025-08-06 10:28:49 +08:00 • committed by Greg Kroah-Hartman
commit 009127b0fc