diff options
author | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:39 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:39 +1000 |
commit | ba7eb04f71b0f5add796bd94319d1a0671b566de (patch) | |
tree | c963b12819b4558fa7c82119a616a8f4c5acc349 /Create.c | |
parent | d2ca644994d642c31b41242140e1fe819711c8f7 (diff) | |
download | mdadm-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 */ |