Fixed UUID printing in "--detail --brief" for version1 metadata.
This commit is contained in:
parent
9255bbc84f
commit
b7a708af6f
|
@ -1,3 +1,6 @@
|
||||||
|
Changes Prior to this release
|
||||||
|
- Fixed UUID printing in "--detail --brief" for version1 metadata.
|
||||||
|
|
||||||
Changes Prior to 2.5.6 release
|
Changes Prior to 2.5.6 release
|
||||||
- Fix bug which meant "bitmap=xxx" in mdadm.conf was not handled
|
- Fix bug which meant "bitmap=xxx" in mdadm.conf was not handled
|
||||||
properly.
|
properly.
|
||||||
|
|
2
super1.c
2
super1.c
|
@ -345,8 +345,8 @@ static void brief_examine_super1(void *sbv)
|
||||||
nm,
|
nm,
|
||||||
c?c:"-unknown-", __le32_to_cpu(sb->raid_disks));
|
c?c:"-unknown-", __le32_to_cpu(sb->raid_disks));
|
||||||
for (i=0; i<16; i++) {
|
for (i=0; i<16; i++) {
|
||||||
printf("%02x", sb->set_uuid[i]);
|
|
||||||
if ((i&3)==0 && i != 0) printf(":");
|
if ((i&3)==0 && i != 0) printf(":");
|
||||||
|
printf("%02x", sb->set_uuid[i]);
|
||||||
}
|
}
|
||||||
if (sb->set_name[0])
|
if (sb->set_name[0])
|
||||||
printf(" name=%.32s", sb->set_name);
|
printf(" name=%.32s", sb->set_name);
|
||||||
|
|
Loading…
Reference in New Issue