]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: factor out a common helper to query extent map
authorZhang Yi <yi.zhang@huawei.com>
Fri, 17 May 2024 12:39:56 +0000 (20:39 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Jun 2024 22:04:49 +0000 (18:04 -0400)
commit8e4e5cdf2fdeb99445a468b6b6436ad79b9ecb30
treef752c00488b5061625faf9b4df4fbb26677b1874
parent907c3fe532253a6ef4eb9c4d67efb71fab58c706
ext4: factor out a common helper to query extent map

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: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://patch.msgid.link/20240517124005.347221-2-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c