]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
populate: fix some weirdness in __populate_check_xfs_agbtree_height v2023.02.19
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Dec 2022 22:19:36 +0000 (14:19 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 18 Feb 2023 06:58:27 +0000 (14:58 +0800)
commit9ba85b9a6f0f3246b231519077df7f0ed313c302
treead89967c4480807be2e15a58bda6436cb31c97b7
parent215075d03ddf916c7c3744581aa936a143a71ed9
populate: fix some weirdness in __populate_check_xfs_agbtree_height

Use a for loop to scan the AGs, and make all the variables local like
you'd expect them to be.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/populate