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

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to