980c41f8e0
Update mdadm to 4.0 Remove 000-compile.patch as it's fixed upstream Refresh patches Add mdadm.h-Undefine-dprintf-before-redefining.patch Source: http://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/mdadm/files Add RAID 0,1 and 10 as depends to make mdadm usable. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
25 lines
560 B
Diff
25 lines
560 B
Diff
--- a/Incremental.c
|
|
+++ b/Incremental.c
|
|
@@ -1642,6 +1642,10 @@ static int Incremental_container(struct
|
|
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
|
|
@@ -1151,7 +1151,9 @@ void wait_for(char *dev, int fd)
|
|
struct superswitch *superlist[] =
|
|
{
|
|
&super0, &super1,
|
|
+#ifdef MDADM_FULL
|
|
&super_ddf, &super_imsm,
|
|
+#endif
|
|
&mbr, &gpt,
|
|
NULL };
|
|
|