From: NeilBrown Date: Sun, 21 Oct 2012 23:38:11 +0000 (+1100) Subject: Detail: don't report a faulty device as 'spare' or 'rebuilding'. X-Git-Tag: mdadm-3.3-rc1~173 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=commitdiff_plain;h=71ec707658d88d3420a6dab9d527c0847c0241ed Detail: don't report a faulty device as 'spare' or 'rebuilding'. If a device is faulty, then that is all there is too it. Even if it isn't 'removed' yet, it shouldn't be reported as 'spare' or 'rebuilding'. Signed-off-by: NeilBrown --- diff --git a/Detail.c b/Detail.c index 8ca3a962..3a2799d5 100644 --- a/Detail.c +++ b/Detail.c @@ -563,7 +563,8 @@ This is pretty boring if (disk.state & (1<