提交 62e823a2 编写于 作者: J Jing Zhang 提交者: Theodore Ts'o

ext4: Remove unnecessary call to ext4_get_group_desc() in mballoc

Signed-off-by: NJing Zhang <zj.barak@gmail.com>
Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
上级 b720303d
......@@ -2025,7 +2025,6 @@ ext4_mb_regular_allocator(struct ext4_allocation_context *ac)
for (i = 0; i < ngroups; group++, i++) {
struct ext4_group_info *grp;
struct ext4_group_desc *desc;
if (group == ngroups)
group = 0;
......@@ -2048,7 +2047,6 @@ ext4_mb_regular_allocator(struct ext4_allocation_context *ac)
}
ac->ac_groups_scanned++;
desc = ext4_get_group_desc(sb, group, NULL);
if (cr == 0)
ext4_mb_simple_scan_group(ac, &e4b);
else if (cr == 1 &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册