From 0430ed4868970a9c72318357d30cd0b4d4144407 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 13 Oct 2006 09:02:35 +1000 Subject: Remove partitions from components of an md array They do nothing but cause confusion. --- Create.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Create.c') diff --git a/Create.c b/Create.c index 2dbc330..ff87df0 100644 --- a/Create.c +++ b/Create.c @@ -521,6 +521,7 @@ int Create(struct supertype *st, char *mddev, int mdfd, fstat(fd, &stb); disk.major = major(stb.st_rdev); disk.minor = minor(stb.st_rdev); + remove_partitions(fd); close(fd); } switch(pass){ -- cgit