From: Constantine Shulyupin Date: Thu, 10 Dec 2015 14:19:46 +0000 (+0200) Subject: Detail.c --test fix X-Git-Tag: mdadm-3.4~24^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd04f56212a1640f02fe4567586e2a02a7888e0c;p=thirdparty%2Fmdadm.git Detail.c --test fix --- diff --git a/Detail.c b/Detail.c index 200f65fa..7eb6bd5e 100644 --- a/Detail.c +++ b/Detail.c @@ -339,7 +339,8 @@ int Detail(char *dev, struct context *c) (disks[d*2+1].state & (1<test; } if (c->brief) { @@ -672,9 +673,6 @@ This is pretty boring } } if (disk.state == 0) spares++; - if (c->test && d < array.raid_disks - && !(disk.state & (1<prefer); if (dv != NULL) { if (c->brief)