diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-02-06 04:40:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:21 -0500 |
commit | 144704e5227362cbd694b0b3c3aa4ac99a0115c9 (patch) | |
tree | d87b081741724d742514e9b91714ee0aa510ed1e | |
parent | 1eca93f9cafdec4a332ace9b0fc0d3886d430c28 (diff) |
ext[234]: fix comment for nonexistent variable
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: <linux-ext4@vger.kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/ext2/balloc.c | 4 | ||||
-rw-r--r-- | fs/ext3/balloc.c | 2 | ||||
-rw-r--r-- | fs/ext4/balloc.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c index a51bdf82450f..f86207b345a9 100644 --- a/fs/ext2/balloc.c +++ b/fs/ext2/balloc.c | |||
@@ -1315,8 +1315,8 @@ retry_alloc: | |||
1315 | smp_rmb(); | 1315 | smp_rmb(); |
1316 | 1316 | ||
1317 | /* | 1317 | /* |
1318 | * Now search the rest of the groups. We assume that | 1318 | * Now search the rest of the groups. We assume that |
1319 | * i and gdp correctly point to the last group visited. | 1319 | * group_no and gdp correctly point to the last group visited. |
1320 | */ | 1320 | */ |
1321 | for (bgi = 0; bgi < ngroups; bgi++) { | 1321 | for (bgi = 0; bgi < ngroups; bgi++) { |
1322 | group_no++; | 1322 | group_no++; |
diff --git a/fs/ext3/balloc.c b/fs/ext3/balloc.c index d2dface9a423..245949ead658 100644 --- a/fs/ext3/balloc.c +++ b/fs/ext3/balloc.c | |||
@@ -1572,7 +1572,7 @@ retry_alloc: | |||
1572 | 1572 | ||
1573 | /* | 1573 | /* |
1574 | * Now search the rest of the groups. We assume that | 1574 | * Now search the rest of the groups. We assume that |
1575 | * i and gdp correctly point to the last group visited. | 1575 | * group_no and gdp correctly point to the last group visited. |
1576 | */ | 1576 | */ |
1577 | for (bgi = 0; bgi < ngroups; bgi++) { | 1577 | for (bgi = 0; bgi < ngroups; bgi++) { |
1578 | group_no++; | 1578 | group_no++; |
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index ac75ea953d83..7b42cc18ef8c 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c | |||
@@ -1700,7 +1700,7 @@ retry_alloc: | |||
1700 | 1700 | ||
1701 | /* | 1701 | /* |
1702 | * Now search the rest of the groups. We assume that | 1702 | * Now search the rest of the groups. We assume that |
1703 | * i and gdp correctly point to the last group visited. | 1703 | * group_no and gdp correctly point to the last group visited. |
1704 | */ | 1704 | */ |
1705 | for (bgi = 0; bgi < ngroups; bgi++) { | 1705 | for (bgi = 0; bgi < ngroups; bgi++) { |
1706 | group_no++; | 1706 | group_no++; |