]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-intel.c
imsm: FIX: add raid5 to raid0 case to analyse_change()
[thirdparty/mdadm.git] / super-intel.c
index 6a21b26b8b4640b957036e15a275775f89195f72..2875adea9a42c0aee968e1a7c032f8de6c2a2cd2 100644 (file)
@@ -6934,7 +6934,7 @@ enum imsm_reshape_type imsm_analyze_change(struct supertype *st,
                        }
                        break;
                case 5:
-                       if (geo->level != 0)
+                       if (geo->level == 0)
                                change = CH_LEVEL_MIGRATION;
                        break;
                case 10: