This is a note to let you know that I've just added the patch titled udf: Remove GFP_NOFS allocation in udf_expand_file_adinicb() to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: udf-remove-gfp_nofs-allocation-in-udf_expand_file_ad.patch and it can be found in the queue-6.6 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit df0abc84020518da4e1437d3d088edaa59e484f3 Author: Jan Kara <jack@xxxxxxx> Date: Tue Jan 9 11:15:43 2024 +0100 udf: Remove GFP_NOFS allocation in udf_expand_file_adinicb() [ Upstream commit 38f8af2a7191e5da21c557210d810c6d0d34f6c4 ] udf_expand_file_adinicb() is called under inode->i_rwsem and mapping->invalidate_lock. i_rwsem is safe wrt fs reclaim, invalidate_lock on this inode is safe as well (we hold inode reference so reclaim will not touch it, furthermore even lockdep should not complain as invalidate_lock is acquired from udf_evict_inode() only when truncating inode which should not happen from fs reclaim). Signed-off-by: Jan Kara <jack@xxxxxxx> Stable-dep-of: db6754090a4f ("udf: Convert udf_expand_file_adinicb() to use a folio") Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/fs/udf/inode.c b/fs/udf/inode.c index a17a6184cc39e..7f7610dddcba1 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c @@ -357,7 +357,7 @@ int udf_expand_file_adinicb(struct inode *inode) return 0; } - page = find_or_create_page(inode->i_mapping, 0, GFP_NOFS); + page = find_or_create_page(inode->i_mapping, 0, GFP_KERNEL); if (!page) return -ENOMEM;