diff options
author | Neil Brown <neilb@suse.de> | 2006-05-19 08:56:06 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-19 08:56:06 +0200 |
commit | 05697ec1e26eadc2f814d9f84f8c783fff5b98b5 (patch) | |
tree | fed33270814c73af6757e0959f46e3ffafba7905 /Kill.c | |
parent | Allow homehost to be set on command line or in config file (diff) | |
download | mdadm-05697ec1e26eadc2f814d9f84f8c783fff5b98b5.tar.xz mdadm-05697ec1e26eadc2f814d9f84f8c783fff5b98b5.zip |
Make homehost information appear in superblock.
When an array is created, if the homehost is know,
the superblock gets it, either in the uuid, (via sha1)
or in the name field.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Kill.c')
-rw-r--r-- | Kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ int Kill(char *dev, int force, int quiet) mdu_array_info_t info; info.major_version = -1; /* zero superblock */ free(super); - st->ss->init_super(st, &super, &info, 0, ""); + st->ss->init_super(st, &super, &info, 0, "", NULL); if (st->ss->store_super(st, fd, super)) { if (!quiet) fprintf(stderr, Name ": Could not zero superblock on %s\n", |