[Ocfs-tools-devel] Patch for byteorder stuff

Villalovos, John L john.l.villalovos at intel.com
Fri Aug 6 11:27:26 PDT 2004


joel.becker at oracle.com wrote:
> On Thu, Aug 05, 2004 at 03:02:59PM -0700, Villalovos, John L wrote:
>> Anyway I took the CPU_TO_DISK & DISK_TO_CPU macros from the GPL EVMS
>> code and used them instead of the kernel ones.
> 
> 	DISK being little endian and size proper?

I also have a patch to have it use the C99 standard for integers of
fixed sizes.

For example:

32 bit unsigned integer = unint32_t
32 bit signed integer   = int32_t

These come from #include <stdint.h> which is part of the C99 standard.

It appears to be present on AS 3 and above.

Let me know if any interest.

John


More information about the Ocfs-tools-devel mailing list