Skip to content
Commit f12fbb95 authored by Zhang Yi's avatar Zhang Yi Committed by Greg Kroah-Hartman
Browse files

ext4: factor out a common helper to query extent map

[ Upstream commit 8e4e5cdf

 ]

Factor out a new common helper ext4_map_query_blocks() from the
ext4_da_map_blocks(), it query and return the extent map status on the
inode's extent path, no logic changes.

Signed-off-by: default avatarZhang Yi <yi.zhang@huawei.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarRitesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://patch.msgid.link/20240517124005.347221-2-yi.zhang@huaweicloud.com
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Stable-dep-of: 0ea6560a

 ("ext4: check the extent status again before inserting delalloc block")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c6cba590
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment