[mdadm/f15/master] More compile fixes (this is getting a bit ridiculous)

Doug Ledford dledford at fedoraproject.org
Sat Mar 26 18:25:00 UTC 2011


commit 5c2839000fab0d43f95f2ed046159204e2c6f91b
Author: Doug Ledford <dledford at redhat.com>
Date:   Sat Mar 26 14:24:38 2011 -0400

    More compile fixes (this is getting a bit ridiculous)
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 mdadm-3.1.5-unused-param.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
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


More information about the scm-commits mailing list