diff options
author | NeilBrown <neilb@suse.de> | 2008-09-18 16:12:28 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-09-18 16:12:28 +1000 |
commit | 35ddc76dcbcb7ef5f1ca57e557bfa4c3cdf6a6eb (patch) | |
tree | 7469851707ce8fc23c438c10ce6a120d1f7fc5ad /super1.c | |
parent | ff54de6e47163944185f231700e72d3122b58f4c (diff) | |
download | mdadm-35ddc76dcbcb7ef5f1ca57e557bfa4c3cdf6a6eb.tar.gz mdadm-35ddc76dcbcb7ef5f1ca57e557bfa4c3cdf6a6eb.tar.xz mdadm-35ddc76dcbcb7ef5f1ca57e557bfa4c3cdf6a6eb.zip |
Use common code to report MD_UUID for --detail --export
As we need to be able to extract a UUID from any superblock
for matching, use that as the MD_UUID as it will probably be
used for array matching too.
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -456,12 +456,6 @@ static void export_detail_super1(struct supertype *st) } if (len) printf("MD_NAME=%.*s\n", len, sb->set_name); - printf("MD_UUID="); - for (i=0; i<16; i++) { - if ((i&3)==0 && i != 0) printf(":"); - printf("%02x", sb->set_uuid[i]); - } - printf("\n"); } #endif |