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

Eric Sandeen
2006-08-11T02:11:32Z

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