summaryrefslogtreecommitdiffstats
path: root/fs/ext2/balloc.c
diff options
context:
space:
mode:
authorAkinobu Mita2008-02-06 10:40:15 +0100
committerLinus Torvalds2008-02-06 19:41:21 +0100
commit144704e5227362cbd694b0b3c3aa4ac99a0115c9 (patch)
treed87b081741724d742514e9b91714ee0aa510ed1e /fs/ext2/balloc.c
parentext3: change the default behaviour on error (diff)
downloadkernel-qcow2-linux-144704e5227362cbd694b0b3c3aa4ac99a0115c9.tar.gz
kernel-qcow2-linux-144704e5227362cbd694b0b3c3aa4ac99a0115c9.tar.xz
kernel-qcow2-linux-144704e5227362cbd694b0b3c3aa4ac99a0115c9.zip
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>
Diffstat (limited to 'fs/ext2/balloc.c')
-rw-r--r--fs/ext2/balloc.c4
1 files changed, 2 insertions, 2 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:
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++;