match the one used by mdadm.
+2011-04-25 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
+ match the one used by mdadm.
+
2011-04-21 Colin Watson <cjwatson@ubuntu.com>
* po/README: Add instructions for creating po/LINGUAS.
return grub_errno;
uuid = (grub_uint32_t *) array->uuid;
- uuid[0] = sb.set_uuid0;
- uuid[1] = sb.set_uuid1;
- uuid[2] = sb.set_uuid2;
- uuid[3] = sb.set_uuid3;
+ uuid[0] = grub_swap_bytes32 (sb.set_uuid0);
+ uuid[1] = grub_swap_bytes32 (sb.set_uuid1);
+ uuid[2] = grub_swap_bytes32 (sb.set_uuid2);
+ uuid[3] = grub_swap_bytes32 (sb.set_uuid3);
*start_sector = 0;