ext[234]: fix comment for nonexistent variable
authorAkinobu Mita <[email protected]>
Wed, 6 Feb 2008 09:40:15 +0000 (01:40 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Feb 2008 18:41:21 +0000 (10:41 -0800)
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: <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext2/balloc.c
fs/ext3/balloc.c
fs/ext4/balloc.c

index a51bdf82450f994bc87861a58a47dcc069b40852..f86207b345a93f342b9878c08dd643ef8a67a19b 100644 (file)
@@ -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++;
index d2dface9a423038ed95ac64461613a94348df104..245949ead658953f1967776782a8f59a46a04ffa 100644 (file)
@@ -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++;
index ac75ea953d83fbfe3d3919783f85c963d905c264..7b42cc18ef8c38065046f09a01299954505b4333 100644 (file)
@@ -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++;