diff options
author | Neil Brown <neilb@suse.de> | 2006-11-12 23:12:09 +0100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-11-12 23:12:09 +0100 |
commit | 434b77559edef7bfd3e5f5366a2a00039baf7b48 (patch) | |
tree | 2cdf69f331470e801d83a7b758b9543a613b0be5 /super1.c | |
parent | Fixed UUID printing in "--detail --brief" for version1 metadata. (diff) | |
download | mdadm-434b77559edef7bfd3e5f5366a2a00039baf7b48.tar.xz mdadm-434b77559edef7bfd3e5f5366a2a00039baf7b48.zip |
--update=resync did exactly the wrong thing for version1 metadata.
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -527,7 +527,7 @@ static int update_super1(struct mdinfo *info, void *sbv, char *update, } if (strcmp(update, "resync") == 0) { /* make sure resync happens */ - sb->resync_offset = ~0ULL; + sb->resync_offset = 0ULL; } if (strcmp(update, "uuid") == 0) { memcpy(sb->set_uuid, info->uuid, 16); |