[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Big endian fixes for btrfs

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] Big endian fixes for btrfs
Date: Sun, 25 Mar 2012 23:29:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0

On 25.03.2012 23:10, Anton Blanchard wrote:
> -  data->inode = key_in.object_id;
> +  data->inode = grub_le_to_cpu64 (key_in.object_id);
the inode field is in little-endian as well (not native endian)

>-         if (key_out.object_id != ino
>+         if (grub_le_to_cpu64 (key_out.object_id) != ino

Not if you keep both sides little-endian

Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]