From: Andrew Morton fs/ext3/balloc.c: In function `ext3_new_blocks': fs/ext3/balloc.c:1393: `for' loop initial declaration used outside C99 mode Cc: Mingming Cao Signed-off-by: Andrew Morton --- fs/ext3/balloc.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -puN fs/ext3/balloc.c~ext3-get-blocks-adjust-accounting-info-in-build-fix fs/ext3/balloc.c --- 25/fs/ext3/balloc.c~ext3-get-blocks-adjust-accounting-info-in-build-fix Fri Jan 13 17:54:15 2006 +++ 25-akpm/fs/ext3/balloc.c Fri Jan 13 17:54:15 2006 @@ -1360,7 +1360,9 @@ allocated: jbd_lock_bh_state(bitmap_bh); spin_lock(sb_bgl_lock(sbi, group_no)); if (buffer_jbd(bitmap_bh) && bh2jh(bitmap_bh)->b_committed_data) { - for (int i = 0; i < num; i++) { + int i; + + for (i = 0; i < num; i++) { if (ext3_test_bit(ret_block, bh2jh(bitmap_bh)->b_committed_data)) { printk("%s: block was unexpectedly set in " _