From: Dan Williams Date: Thu, 15 May 2008 06:48:46 +0000 (+1000) Subject: keep member disk fd(s) for updates X-Git-Tag: devel~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dbccbcf5ff32f604edbdfb1a790e19a28cee02a;p=thirdparty%2Fmdadm.git keep member disk fd(s) for updates From: Dan Williams Signed-off-by: Dan Williams --- diff --git a/super-ddf.c b/super-ddf.c index 8e9cedca..816a9753 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -694,7 +694,7 @@ static int load_super_ddf(struct supertype *st, int fd, int rv; #ifndef MDASSEMBLE - if (load_super_ddf_all(st, fd, &st->sb, devname, 0) == 0) + if (load_super_ddf_all(st, fd, &st->sb, devname, 1) == 0) return 0; #endif diff --git a/super-intel.c b/super-intel.c index 1d00e29c..366828a2 100644 --- a/super-intel.c +++ b/super-intel.c @@ -865,7 +865,7 @@ static int load_super_imsm(struct supertype *st, int fd, char *devname) int rv; #ifndef MDASSEMBLE - if (load_super_imsm_all(st, fd, &st->sb, devname, 0) == 0) + if (load_super_imsm_all(st, fd, &st->sb, devname, 1) == 0) return 0; #endif