Latest mkfs.jffs2 is broken.

Artem Bityutskiy dedekind1 at
Fri Oct 15 04:43:38 EDT 2010

On Fri, 2010-10-15 at 10:35 +0200, Peter Korsgaard wrote:
> commit b864c387e8f16273aad1453d6457d847e29c3d25
> Author: Mike Frysinger <vapier at>
> Date:   Wed Sep 22 22:32:56 2010 -0400
>     mtd-utils: clean up zlib.h usage a bit
>     Hide zlib's crc32 in compr_zlib.c and mkfs.ubifs/compr.c.
>     jffs2reader.c and mkfs.jffs2.c don't actually use zlib, so punt the
>     include from the file.
>     mkfs.jffs2.c is implicitly using crc32 from zlib.h instead of the
>     local mtd_crc32, so fix the local usage.  otherwise we get warnings
>     about undefined crc32 because the file was redirecting the prototype.
>     Signed-off-by: Mike Frysinger <vapier at>
>     Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at>
> Hartley, that commit applies OK to 1.4.0, could you give it a try?
> Artem: Time for a v1.4.1 release?

Thanks. If it works, I'll back-port Mike's patch to 1.4.0 and tag it as
1.4.1. So 1.4.1 won't include tons of irrelevant commits.

Best Regards,
Artem Bityutskiy (Артём Битюцкий)

More information about the linux-mtd mailing list