2013-06-28 11:26:48 +00:00
|
|
|
--- a/Incremental.c
|
|
|
|
+++ b/Incremental.c
|
2019-08-03 09:27:55 +00:00
|
|
|
@@ -1620,6 +1620,10 @@ static int Incremental_container(struct
|
2013-06-28 11:26:48 +00:00
|
|
|
if (ra_all == ra_blocked)
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
+#ifndef MDADM_FULL
|
|
|
|
+ return 0;
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
/* Now move all suitable spares from spare container */
|
|
|
|
domains = domain_from_array(list, st->ss->name);
|
|
|
|
memcpy(suuid, uuid_zero, sizeof(int[4]));
|
|
|
|
--- a/util.c
|
|
|
|
+++ b/util.c
|
2019-08-03 09:27:55 +00:00
|
|
|
@@ -1221,7 +1221,9 @@ void wait_for(char *dev, int fd)
|
2013-06-28 11:26:48 +00:00
|
|
|
struct superswitch *superlist[] =
|
|
|
|
{
|
|
|
|
&super0, &super1,
|
|
|
|
+#ifdef MDADM_FULL
|
|
|
|
&super_ddf, &super_imsm,
|
|
|
|
+#endif
|
|
|
|
&mbr, &gpt,
|
2019-02-14 21:07:58 +00:00
|
|
|
NULL
|
|
|
|
};
|