]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.c
Support --update=homehost to allow updating of homehost information.
[thirdparty/mdadm.git] / mdadm.c
diff --git a/mdadm.c b/mdadm.c
index 42fcf0762a8a207480c2c9ee099a81900df0a785..0df73691fb8b0117fd925023bda393e5b59a45e3 100644 (file)
--- a/mdadm.c
+++ b/mdadm.c
@@ -568,6 +568,8 @@ int main(int argc, char *argv[])
                                continue;
                        if (strcmp(update, "name")==0)
                                continue;
+                       if (strcmp(update, "homehost")==0)
+                               continue;
                        if (strcmp(update, "byteorder")==0) {
                                if (ss) {
                                        fprintf(stderr, Name ": must not set metadata type with --update=byteorder.\n");