2002-04-30 09:27:38

by Eyal Lebedinsky

[permalink] [raw]
Subject: 2.4.19-pre7-ac3: ext2 compile failure

--- linux/fs/ext2/balloc.c.orig Tue Apr 30 19:17:01 2002
+++ linux/fs/ext2/balloc.c Tue Apr 30 19:17:18 2002
@@ -518,7 +518,7 @@
if (tmp == le32_to_cpu(gdp->bg_block_bitmap) ||
tmp == le32_to_cpu(gdp->bg_inode_bitmap) ||
in_range (tmp, le32_to_cpu(gdp->bg_inode_table),
- sb->u.ext2_sb.s_itb_per_group))
+ sb->u.ext2_sb.s_itb_per_group)) {
ext2_error (sb, "ext2_new_block",
"Allocating block in system zone - block = %lu",
tmp);


Attachments:
2.4.19-pre7-ac3-balloc.patch (476.00 B)

2002-04-30 21:46:01

by Andreas Dilger

[permalink] [raw]
Subject: Re: 2.4.19-pre7-ac3: ext2 compile failure

On Apr 30, 2002 19:27 +1000, Eyal Lebedinsky wrote:
> The fourth hunk for balloc.c introduces a close brace without opening
> one:
>
> --- linux/fs/ext2/balloc.c.orig Tue Apr 30 19:17:01 2002
> +++ linux/fs/ext2/balloc.c Tue Apr 30 19:17:18 2002
> @@ -518,7 +518,7 @@
> if (tmp == le32_to_cpu(gdp->bg_block_bitmap) ||
> tmp == le32_to_cpu(gdp->bg_inode_bitmap) ||
> in_range (tmp, le32_to_cpu(gdp->bg_inode_table),
> - sb->u.ext2_sb.s_itb_per_group))
> + sb->u.ext2_sb.s_itb_per_group)) {
> ext2_error (sb, "ext2_new_block",
> "Allocating block in system zone - block = %lu",
> tmp);

Sorry, that was my fault. On extracting this patch from my ext2 tree,
the surrounding lines have other changes which I thought could be safely
discarded. I didn't see the lone brace at the end...

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/