summaryrefslogtreecommitdiffstats
path: root/Create.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-07-12 20:27:39 +1000
committerNeil Brown <neilb@suse.de>2008-07-12 20:27:39 +1000
commitba7eb04f71b0f5add796bd94319d1a0671b566de (patch)
treec963b12819b4558fa7c82119a616a8f4c5acc349 /Create.c
parentd2ca644994d642c31b41242140e1fe819711c8f7 (diff)
downloadmdadm-ba7eb04f71b0f5add796bd94319d1a0671b566de.tar.gz
mdadm-ba7eb04f71b0f5add796bd94319d1a0671b566de.tar.xz
mdadm-ba7eb04f71b0f5add796bd94319d1a0671b566de.zip
Remove silly convention that major='-1' means 'zero superblock'.
Use 'info pointer is NULL' instead.
Diffstat (limited to 'Create.c')
-rw-r--r--Create.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Create.c b/Create.c
index 71871f6..fe93238 100644
--- a/Create.c
+++ b/Create.c
@@ -487,7 +487,6 @@ int Create(struct supertype *st, char *mddev, int mdfd,
+ info.array.failed_disks;
info.array.layout = layout;
info.array.chunk_size = chunk*1024;
- info.array.major_version = 0; /* Flag to say "not zeroing superblock" */
if (name == NULL || *name == 0) {
/* base name on mddev */