]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
Assemble/Incr : minor tidy up of setting 'trustworthy'.
[thirdparty/mdadm.git] / Incremental.c
index 7d6de981427663bf96574ca848f301dadce6e1d3..8908eeced7efc8fb329000344f34821777905f79 100644 (file)
@@ -810,6 +810,8 @@ int Incremental_container(struct supertype *st, char *devname, int verbose,
                                                match->container, match->member);
                                return 2;
                        }
+                       if (match)
+                               trustworthy = LOCAL;
 
                        mdfd = create_mddev(match ? match->devname : NULL,
                                            ra->name,