Skip to contentSkip to conversation

ext[234]: fix comment for nonexistent variable

PATCH New [email protected] 1 participant 1 message Feb 6, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 252/260 ext[234]: fix comment for nonexistent variable

From: Akinobu Mita <[email protected]>

The comment in ext[234]_new_blocks() describes about "i". But there is no local variable called "i" in that scope. I guess it has been renamed to group_no.

---

 fs/ext2/balloc.c |    4 ++--
 fs/ext3/balloc.c |    2 +-
 fs/ext4/balloc.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
fs/ext2/balloc.c renamed from fs/ext2/balloc.c~ext-fix-comment-for-nonexistent-variable +2 -2
diff -puN fs/ext2/balloc.c~ext-fix-comment-for-nonexistent-variable fs/ext2/balloc.c
@@ -1315,8 +1315,8 @@ retry_alloc:
 	smp_rmb();
 
 	/*
-	 * Now search the rest of the groups.  We assume that 
-	 * i and gdp correctly point to the last group visited.
+	 * Now search the rest of the groups.  We assume that
+	 * group_no and gdp correctly point to the last group visited.
 	 */
 	for (bgi = 0; bgi < ngroups; bgi++) {
 		group_no++;
fs/ext3/balloc.c renamed from fs/ext3/balloc.c~ext-fix-comment-for-nonexistent-variable +1 -1
diff -puN fs/ext3/balloc.c~ext-fix-comment-for-nonexistent-variable fs/ext3/balloc.c
@@ -1572,7 +1572,7 @@ retry_alloc:
 
 	/*
 	 * Now search the rest of the groups.  We assume that
-	 * i and gdp correctly point to the last group visited.
+	 * group_no and gdp correctly point to the last group visited.
 	 */
 	for (bgi = 0; bgi < ngroups; bgi++) {
 		group_no++;
fs/ext4/balloc.c renamed from fs/ext4/balloc.c~ext-fix-comment-for-nonexistent-variable +1 -1
diff -puN fs/ext4/balloc.c~ext-fix-comment-for-nonexistent-variable fs/ext4/balloc.c
@@ -1700,7 +1700,7 @@ retry_alloc:
 
 	/*
 	 * Now search the rest of the groups.  We assume that
-	 * i and gdp correctly point to the last group visited.
+	 * group_no and gdp correctly point to the last group visited.
 	 */
 	for (bgi = 0; bgi < ngroups; bgi++) {
 		group_no++;

_