Re: [Ext2-devel] [PATCH 2/9] sector_t format string

From: Eric Sandeen
Date: Thu Aug 10 2006 - 22:09:09 EST


Mingming Cao wrote:

When we cleanup ext3 code to fix some "int" type block numbers to
"unsigned long" type to able to truely support 2^32 bit ext3 (otherwise
ext3 is limited to 2^31 blocks (8TB)), we had to go through a lot of
printk to modify the format string from %d to %lu. It's a pain.

<OT>
FWIW, ext3 still isn't 32-bit clean, in my testing. The types are ok but the code overflows them with arithmetic in some places. Look for patches from me soon ;-)
</OT>

-eric

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