Re: Linux 2.4.21-rc1

Geert Uytterhoeven (geert@linux-m68k.org)
Tue, 22 Apr 2003 15:42:29 +0200 (MEST)


On Mon, 21 Apr 2003, Marcelo Tosatti wrote:
> Andreas Dilger <adilger@clusterfs.com>:
> o don't allocate/free blocks in system areas

This change causes a compile warning, cfr. the fix below.

BTW, perhaps `tmp' should be `unsigned int', instead of `int', cfr. the `%u'?

--- linux-2.4.21-rc1/fs/ext2/balloc.c.orig Tue Apr 22 11:54:53 2003
+++ linux-2.4.21-rc1/fs/ext2/balloc.c Tue Apr 22 15:39:59 2003
@@ -520,7 +520,7 @@
in_range (tmp, le32_to_cpu(gdp->bg_inode_table),
EXT2_SB(sb)->s_itb_per_group)) {
ext2_error (sb, "ext2_new_block",
- "Allocating block in system zone - block = %lu",
+ "Allocating block in system zone - block = %u",
tmp);
ext2_set_bit(j, bh->b_data);
DQUOT_FREE_BLOCK(inode, 1);

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/