summaryrefslogtreecommitdiffstats
path: root/Kill.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-19 08:56:06 +0200
committerNeil Brown <neilb@suse.de>2006-05-19 08:56:06 +0200
commit05697ec1e26eadc2f814d9f84f8c783fff5b98b5 (patch)
treefed33270814c73af6757e0959f46e3ffafba7905 /Kill.c
parentAllow homehost to be set on command line or in config file (diff)
downloadmdadm-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kill.c b/Kill.c
index e411ff3f..dc6baa15 100644
--- a/Kill.c
+++ b/Kill.c
@@ -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",