ext4: factor out __ext4_mb_scan_group()
authorBaokun Li <libaokun1@huawei.com>
Mon, 14 Jul 2025 13:03:22 +0000 (21:03 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Jul 2025 13:14:17 +0000 (09:14 -0400)
commit45704f92e55853fe287760e019feb45eeb9c988e
tree9a7cb699f18d38f8c52907a6da732f177d9eab88
parent7d345aa1fac4c2ec9584fbd6f389f2c2368671d5
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-13-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c
fs/ext4/mballoc.h