ext4: remove unnecessary drop path references in mext_check_coverage()
authorYe Bin <yebin10@huawei.com>
Sat, 24 Sep 2022 02:12:10 +0000 (10:12 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 1 Oct 2022 03:46:54 +0000 (23:46 -0400)
commitb6a750c01925954d0dc6c360e91b5fcb53664a26
tree1bdb8991a3faac69709e27802602b46e54e752e0
parent27cd49780381c6ccbf248798e5e8fd076200ffba
ext4: remove unnecessary drop path references in mext_check_coverage()

According to Jan Kara's suggestion:
"The use in mext_check_coverage() can be actually removed
- get_ext_path() -> ext4_find_extent() takes care of dropping the references."
So remove unnecessary call ext4_ext_drop_refs() in mext_check_coverage().

Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220924021211.3831551-2-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/move_extent.c