From 53e68c2afbb9c62de47a227dd05b4373ff85aa1c Mon Sep 17 00:00:00 2001 From: Ojaswin Mujoo Date: Fri, 10 Apr 2026 12:06:05 +0530 Subject: [PATCH] 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 --- tests/generic/775 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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