* [PATCH] ext[234]: fix comment for nonexistent variable
@ 2007-12-08 15:33 Akinobu Mita
0 siblings, 0 replies; only message in thread
From: Akinobu Mita @ 2007-12-08 15:33 UTC (permalink / raw)
To: linux-ext4; +Cc: Stephen Tweedie, Andrew Morton, adilger
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.
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: adilger@clusterfs.com
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
fs/ext2/balloc.c | 4 ++--
fs/ext3/balloc.c | 2 +-
fs/ext4/balloc.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
Index: 2.6-git/fs/ext2/balloc.c
===================================================================
--- 2.6-git.orig/fs/ext2/balloc.c
+++ 2.6-git/fs/ext2/balloc.c
@@ -1250,8 +1250,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++;
Index: 2.6-git/fs/ext3/balloc.c
===================================================================
--- 2.6-git.orig/fs/ext3/balloc.c
+++ 2.6-git/fs/ext3/balloc.c
@@ -1508,7 +1508,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++;
Index: 2.6-git/fs/ext4/balloc.c
===================================================================
--- 2.6-git.orig/fs/ext4/balloc.c
+++ 2.6-git/fs/ext4/balloc.c
@@ -1625,7 +1625,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++;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-08 15:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-08 15:33 [PATCH] ext[234]: fix comment for nonexistent variable Akinobu Mita
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox