diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-21 17:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-21 17:13:27 +0000 |
commit | 3fed94e17ad66173547be201605c0014556572e3 (patch) | |
tree | b37177c380fa30d0336aad7cac9c72035523206a /super1.c | |
parent | Adding upstream version 4.2+20240118. (diff) | |
download | mdadm-84d0ac9202f293ad91beb8cdafd33602605c14fc.tar.xz mdadm-84d0ac9202f293ad91beb8cdafd33602605c14fc.zip |
Adding upstream version 4.3.upstream/4.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -645,10 +645,6 @@ static void brief_examine_super1(struct supertype *st, int verbose) printf(":"); printf("%02x", sb->set_uuid[i]); } - if (sb->set_name[0]) { - printf(" name="); - print_quoted(sb->set_name); - } printf("\n"); } @@ -875,10 +871,6 @@ static void brief_detail_super1(struct supertype *st, char *subarray) struct mdp_superblock_1 *sb = st->sb; int i; - if (sb->set_name[0]) { - printf(" name="); - print_quoted(sb->set_name); - } printf(" UUID="); for (i = 0; i < 16; i++) { if ((i & 3) == 0 && i != 0) @@ -1356,6 +1348,10 @@ static int update_super1(struct supertype *st, struct mdinfo *info, __cpu_to_le16(info->disk.raid_disk); break; } + case UOPT_RESYNC: + /* make sure resync happens */ + sb->resync_offset = 0; + break; case UOPT_UUID: copy_uuid(sb->set_uuid, info->uuid, super1.swapuuid); |