Commit 7745b1b7 authored by Jan Kara's avatar Jan Kara Committed by Greg Kroah-Hartman
Browse files

udf: Remove GFP_NOFS allocation in udf_expand_file_adinicb()



[ Upstream commit 38f8af2a ]

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: default avatarJan Kara <jack@suse.cz>
Stable-dep-of: db675409 ("udf: Convert udf_expand_file_adinicb() to use a folio")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4d7d12b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment