From d1d599ea0d25b047bc0541e62431e635e1e29f18 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 22 Nov 2010 20:24:50 +1100 Subject: Create: user container_dev rather than subarray for some tests. It makes more sense to test for container_dev than for subarray for several places in Create where it then uses container_dev. This allows us to subsequently remove subarray. Signed-off-by: NeilBrown --- super0.c | 1 + 1 file changed, 1 insertion(+) (limited to 'super0.c') diff --git a/super0.c b/super0.c index 74b05ae..1fcdd24 100644 --- a/super0.c +++ b/super0.c @@ -917,6 +917,7 @@ static struct supertype *match_metadata_desc0(char *arg) if (!st) return st; memset(st, 0, sizeof(*st)); + st->container_dev = NoMdDev; st->ss = &super0; st->info = NULL; st->minor_version = 90; -- cgit v1.2.1