From 5c2839000fab0d43f95f2ed046159204e2c6f91b Mon Sep 17 00:00:00 2001 From: Doug Ledford Date: Sat, 26 Mar 2011 14:24:38 -0400 Subject: [PATCH] More compile fixes (this is getting a bit ridiculous) Signed-off-by: Doug Ledford --- mdadm-3.1.5-unused-param.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mdadm-3.1.5-unused-param.patch b/mdadm-3.1.5-unused-param.patch index e182274..d68a443 100644 --- a/mdadm-3.1.5-unused-param.patch +++ b/mdadm-3.1.5-unused-param.patch @@ -61,6 +61,17 @@ } while (rv2!=2); /* Incase there are stacked devices, we need to go around again */ } while (acnt); +--- mdadm-3.1.5/mdmon.c.param 2011-03-26 14:22:46.397366178 -0400 ++++ mdadm-3.1.5/mdmon.c 2011-03-26 14:23:57.834516123 -0400 +@@ -513,6 +513,8 @@ static int mdmon(char *devname, int devn + close(2); + ignore = dup(0); + #endif ++ if (ignore) ++ ignore++; + + do_manager(container); + --- mdadm-3.1.5/super1.c.param 2011-03-26 13:51:30.166019581 -0400 +++ mdadm-3.1.5/super1.c 2011-03-26 13:55:02.995382097 -0400 @@ -111,7 +111,6 @@ static unsigned int calc_sb_1_csum(struc