summaryrefslogtreecommitdiffstats
path: root/Assemble.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-11-27 15:48:45 +1100
committerNeilBrown <neilb@suse.de>2008-11-27 15:48:45 +1100
commit5a52a340905d1a9d0a268ce2621f55db6b3fd423 (patch)
treee1eedab57b1578c2d5e439c256352b835e2498ba /Assemble.c
parent78b958e2052ccd069fa6ccc2367cda758d55540e (diff)
parentd555f101466ab9ad72399c8de92713230e2c9c77 (diff)
downloadmdadm-5a52a340905d1a9d0a268ce2621f55db6b3fd423.tar.gz
mdadm-5a52a340905d1a9d0a268ce2621f55db6b3fd423.tar.xz
mdadm-5a52a340905d1a9d0a268ce2621f55db6b3fd423.zip
Merge branch 'master' into devel-3.0
Diffstat (limited to 'Assemble.c')
-rw-r--r--Assemble.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Assemble.c b/Assemble.c
index 2eec5d2..cac273e 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -770,7 +770,6 @@ int Assemble(struct supertype *st, char *mddev,
int j = best[i];
if (j>=0 &&
!devices[j].uptodate &&
- devices[j].i.events > 0 &&
(chosen_drive < 0 ||
devices[j].i.events
> devices[chosen_drive].i.events))
@@ -828,7 +827,6 @@ int Assemble(struct supertype *st, char *mddev,
int j = best[i];
if (j >= 0 &&
!devices[j].uptodate &&
- devices[j].i.events > 0 &&
devices[j].i.events == current_events) {
chosen_drive = j;
goto add_another;