summaryrefslogtreecommitdiffstats
path: root/Detail.c
diff options
context:
space:
mode:
authorAnna Czarnowska <anna.czarnowska@intel.com>2010-12-26 11:59:31 +0100
committerNeilBrown <neilb@suse.de>2010-12-26 11:59:31 +0100
commit22e263f64a7c1075f162615b700676514efca3c5 (patch)
tree2660519e0321bd5d1eac471d937ad34dbd5f66b3 /Detail.c
parentEnable tests for OLCE, takeover, migrations for imsm metadata (diff)
downloadmdadm-22e263f64a7c1075f162615b700676514efca3c5.tar.xz
mdadm-22e263f64a7c1075f162615b700676514efca3c5.zip
imsm: set imsm spare uuid to 0
uuid_match_any is replaced by uuid_zero for imsm spares. Function fixup_container_spare_uuid not needed as it gives unwanted uuid to spares. Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Detail.c')
-rw-r--r--Detail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Detail.c b/Detail.c
index 94156288..e68a88ac 100644
--- a/Detail.c
+++ b/Detail.c
@@ -159,16 +159,16 @@ int Detail(char *dev, int brief, int export, int test, char *homehost)
continue;
}
/* some formats (imsm) have free-floating-spares
- * with a uuid of uuid_match_any, they don't
+ * with a uuid of uuid_zero, they don't
* have very good info about the rest of the
* container, so keep searching when
* encountering such a device. Otherwise, stop
* after the first successful call to
* ->load_super.
*/
- if (memcmp(uuid_match_any,
+ if (memcmp(uuid_zero,
info->uuid,
- sizeof(uuid_match_any)) == 0) {
+ sizeof(uuid_zero)) == 0) {
st->ss->free_super(st);
continue;
}