[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071121144835.GA7556@infradead.org>
Date: Wed, 21 Nov 2007 14:48:35 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Phillip Lougher <phillip@...gher.demon.co.uk>
Cc: Dave Jones <davej@...hat.com>, maximilian attems <max@...o.at>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [ANN] Squashfs 3.3 released
On Wed, Nov 21, 2007 at 02:02:43PM +0000, Phillip Lougher wrote:
> Unfortunately the move to fixed little endian filesystem will involve
> another filesystem layout change. The current filesystem layout still
> uses packed bitfield structures, and it is impossible to swap these
> using the standard kernel swap macros. Removal of my routines that can
> properly swap packed bitfield structures is another change demanded by
> the Linux kernel mailing list.
The normal way to do it is to use shift and mask after doing the endian
conversion. But the problem with bitfields is that they can have different
kinds of layouts depending on the compiler or abi which is another reason
to avoid them in ondisk/wire formats.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists