Re: [PATCH] fix type mismatch in jffs.

From: Linus Torvalds
Date: Wed Sep 10 2003 - 13:57:17 EST



On Wed, 10 Sep 2003 viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
>
> JFFS is host-endian. If you want to make it swing both ways - feel free,

Please don't.

Dual-endianness is _evil_.

Admittedly host-endian is stupid too, but it's less stupid than being
dual.

The only sane thing to do is fixed-endianness. I'm sure the m68k people
remember being forced to fix their ext2 partitions back in the bad old
days. It's painful once, but after that, fixed-endian is a lot more
efficient and much simpler to handle.

Linus

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