summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-23 04:51:39 +0000
committerNeil Brown <neilb@suse.de>2006-05-23 04:51:39 +0000
commite5eac01f3d52ceb932445f90c0aaa86f244e26e7 (patch)
tree39087cb96cd11788707b2fba41683ac6140f2e06 /mdadm.c
parenta1cbd7d053e034bbfcf337bc9ee7b92ec4c6f6c0 (diff)
downloadmdadm-e5eac01f3d52ceb932445f90c0aaa86f244e26e7.tar.gz
mdadm-e5eac01f3d52ceb932445f90c0aaa86f244e26e7.tar.xz
mdadm-e5eac01f3d52ceb932445f90c0aaa86f244e26e7.zip
Make sure homehost is set correctly when --update=uuid
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mdadm.c b/mdadm.c
index dc3e282..880fa94 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -939,14 +939,14 @@ int main(int argc, char *argv[])
else {
rv |= Assemble(ss, devlist->devname, mdfd, array_ident, configfile,
NULL, backup_file,
- readonly, runstop, update, verbose-quiet, force);
+ readonly, runstop, update, homehost, verbose-quiet, force);
close(mdfd);
}
}
} else if (!scan)
rv = Assemble(ss, devlist->devname, mdfd, &ident, configfile,
devlist->next, backup_file,
- readonly, runstop, update, verbose-quiet, force);
+ readonly, runstop, update, homehost, verbose-quiet, force);
else if (devs_found>0) {
if (update && devs_found > 1) {
fprintf(stderr, Name ": can only update a single array at a time\n");
@@ -972,7 +972,7 @@ int main(int argc, char *argv[])
}
rv |= Assemble(ss, dv->devname, mdfd, array_ident, configfile,
NULL, backup_file,
- readonly, runstop, update, verbose-quiet, force);
+ readonly, runstop, update, homehost, verbose-quiet, force);
close(mdfd);
}
} else {
@@ -1004,7 +1004,7 @@ int main(int argc, char *argv[])
rv |= Assemble(ss, array_list->devname, mdfd,
array_list, configfile,
NULL, NULL,
- readonly, runstop, NULL, verbose-quiet, force);
+ readonly, runstop, NULL, homehost, verbose-quiet, force);
close(mdfd);
}
}