]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super1.c
Make sure homehost is set correctly when --update=uuid
[thirdparty/mdadm.git] / super1.c
index b1ea298fb7f120405b0c5e0aeb8d65cab0f0e94a..533929a303f486654b8ad735f14a119058755166 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -434,7 +434,9 @@ static void getinfo_super1(struct mdinfo *info, void *sbv)
        info->array.working_disks = working;
 }
 
-static int update_super1(struct mdinfo *info, void *sbv, char *update, char *devname, int verbose)
+static int update_super1(struct mdinfo *info, void *sbv, char *update,
+                        char *devname, int verbose,
+                        int uuid_set, char *homehost)
 {
        /* NOTE: for 'assemble' and 'force' we need to return non-zero if any change was made.
         * For others, the return value is ignored.