Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62e823a2 authored by Jing Zhang's avatar Jing Zhang Committed by Theodore Ts'o
Browse files

ext4: Remove unnecessary call to ext4_get_group_desc() in mballoc



Signed-off-by: default avatarJing Zhang <zj.barak@gmail.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent b720303d
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -2025,7 +2025,6 @@ repeat:


		for (i = 0; i < ngroups; group++, i++) {
		for (i = 0; i < ngroups; group++, i++) {
			struct ext4_group_info *grp;
			struct ext4_group_info *grp;
			struct ext4_group_desc *desc;


			if (group == ngroups)
			if (group == ngroups)
				group = 0;
				group = 0;
@@ -2048,7 +2047,6 @@ repeat:
			}
			}


			ac->ac_groups_scanned++;
			ac->ac_groups_scanned++;
			desc = ext4_get_group_desc(sb, group, NULL);
			if (cr == 0)
			if (cr == 0)
				ext4_mb_simple_scan_group(ac, &e4b);
				ext4_mb_simple_scan_group(ac, &e4b);
			else if (cr == 1 &&
			else if (cr == 1 &&