--- 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);
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/