Skip to content
Snippets Groups Projects
Commit 5b69dabd authored by Zhang Yi's avatar Zhang Yi Committed by Sasha Levin
Browse files

ext4: refactor ext4_da_map_blocks()


[ Upstream commit 3fcc2b88 ]

Refactor and cleanup ext4_da_map_blocks(), reduce some unnecessary
parameters and branches, no logic changes.

Signed-off-by: default avatarZhang Yi <yi.zhang@huawei.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240127015825.1608160-2-yi.zhang@huaweicloud.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Stable-dep-of: acf795dc ("ext4: convert to exclusive lock while inserting delalloc extents")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b3bca5e8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment