ext4: factor out ext4_mb_scan_group()
authorBaokun Li <libaokun1@huawei.com>
Mon, 14 Jul 2025 13:03:24 +0000 (21:03 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Jul 2025 13:14:17 +0000 (09:14 -0400)
commit9c08e42db9056d423dcef5e7998c73182180ff83
tree118478f8fb0ce28be177997193b6e2c272797646
parent5abd85f667a19ef7d880ed00c201fc22de6fa707
ext4: factor out ext4_mb_scan_group()

Extract ext4_mb_scan_group() to make the code clearer and to
prepare for the later conversion of 'choose group' to 'scan groups'.
No functional changes.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20250714130327.1830534-15-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c
fs/ext4/mballoc.h