diff options
author | Neil Brown <neilb@suse.de> | 2006-05-23 04:51:39 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-23 04:51:39 +0000 |
commit | e5eac01f3d52ceb932445f90c0aaa86f244e26e7 (patch) | |
tree | 39087cb96cd11788707b2fba41683ac6140f2e06 /mdadm.c | |
parent | a1cbd7d053e034bbfcf337bc9ee7b92ec4c6f6c0 (diff) | |
download | mdadm-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } } |