]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: ext4: change GFP_KERNEL to GFP_NOFS to avoid deadlock
authorchuguangqing <chuguangqing@inspur.com>
Wed, 6 Aug 2025 02:28:49 +0000 (10:28 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 25 Sep 2025 18:17:16 +0000 (14:17 -0400)
commit1534f72dc2a11ded38b0e0268fbcc0ca24e9fd4a
treecd34f7d91d86fbca9d8d821486fdb16d53ae18dc
parentb320789d6883cc00ac78ce83bccbfe7ed58afcf0
fs: ext4: change GFP_KERNEL to GFP_NOFS to avoid deadlock

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>
fs/ext4/xattr.c