From: Ojaswin Mujoo Date: Fri, 10 Apr 2026 06:36:05 +0000 (+0530) Subject: generic/775: Fix an infinite loop due to variable name clash X-Git-Tag: v2026.04.20~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=53e68c2afbb9c62de47a227dd05b4373ff85aa1c;p=xfstests-dev.git generic/775: Fix an infinite loop due to variable name clash We use i as the iteration variable in the main test loop as well as some internal loops. Due to this clash, $i variable of main test loops was getting modified by the following loop in prep_mixed_mapping(). for ((i=0; i Signed-off-by: Ojaswin Mujoo Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- diff --git a/tests/generic/775 b/tests/generic/775 index 2a4287bb..6dc005a0 100755 --- a/tests/generic/775 +++ b/tests/generic/775 @@ -41,7 +41,8 @@ prep_mixed_mapping() { local operations=("W" "H" "U") local num_blocks=$((awu_max / blksz)) - for ((i=0; i