From 3dbccbcf5ff32f604edbdfb1a790e19a28cee02a Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 15 May 2008 16:48:46 +1000 Subject: [PATCH] keep member disk fd(s) for updates From: Dan Williams Signed-off-by: Dan Williams --- super-ddf.c | 2 +- super-intel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2