]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
Merge branch 'cluster'
[thirdparty/mdadm.git] / Incremental.c
index c766ea04f0cc00b8808172a5f894784c6d068cd2..3f3b4d9dfa39ddef7eb49f8fc20c7499e835b56a 100644 (file)
@@ -232,6 +232,11 @@ int Incremental(struct mddev_dev *devlist, struct context *c,
                                devname);
                goto out;
        }
+       /* Skip the clustered ones. This should be started by
+        * clustering resource agents
+        */
+       if (info.array.state & (1 << MD_SB_CLUSTERED))
+               goto out;
 
        /* 3a/ if not, check for homehost match.  If no match, continue
         * but don't trust the 'name' in the array. Thus a 'random' minor