[Ocfs-tools-devel] Patch for byteorder stuff
Villalovos, John L
john.l.villalovos at intel.com
Thu Aug 5 15:34:00 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?
Yes. DISK is in little endian format.
They have the following macros:
CPU_TO_DISK16
CPU_TO_DISK32
CPU_TO_DISK64
DISK_TO_CPU16
DISK_TO_CPU32
DISK_TO_CPU64
John
More information about the Ocfs-tools-devel
mailing list