* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID
match the one used by mdadm.
This commit is contained in:
parent
e91dba5b13
commit
6be8715dfc
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2011-04-21 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* po/README: Add instructions for creating po/LINGUAS.
|
* po/README: Add instructions for creating po/LINGUAS.
|
||||||
|
|
|
@ -221,10 +221,10 @@ grub_mdraid_detect (grub_disk_t disk, struct grub_raid_array *array,
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
|
|
||||||
uuid = (grub_uint32_t *) array->uuid;
|
uuid = (grub_uint32_t *) array->uuid;
|
||||||
uuid[0] = sb.set_uuid0;
|
uuid[0] = grub_swap_bytes32 (sb.set_uuid0);
|
||||||
uuid[1] = sb.set_uuid1;
|
uuid[1] = grub_swap_bytes32 (sb.set_uuid1);
|
||||||
uuid[2] = sb.set_uuid2;
|
uuid[2] = grub_swap_bytes32 (sb.set_uuid2);
|
||||||
uuid[3] = sb.set_uuid3;
|
uuid[3] = grub_swap_bytes32 (sb.set_uuid3);
|
||||||
|
|
||||||
*start_sector = 0;
|
*start_sector = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue