From 96395475fca10d5ee665d6aceb60edacdd7c77dc Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 7 Jun 2005 23:03:45 +0000 Subject: Make --zero-superblock work for version 1 superblocks. This requires passing the supertype to store_super Signed-off-by: Neil Brown --- Create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Create.c') diff --git a/Create.c b/Create.c index 5a359ee..20ef6bf 100644 --- a/Create.c +++ b/Create.c @@ -343,7 +343,7 @@ int Create(struct supertype *st, char *mddev, int mdfd, array.chunk_size = chunk*1024; - if (!st->ss->init_super(&super, &array)) + if (!st->ss->init_super(st, &super, &array)) return 1; if (bitmap_file && strcmp(bitmap_file, "internal")==0) { -- cgit