[PATCH] md: fix calculation of ->degraded for multipath and raid10
authorNeilBrown <neilb@suse.de>
Sat, 21 Oct 2006 17:24:07 +0000 (10:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 21 Oct 2006 20:35:05 +0000 (13:35 -0700)
commit2e333e89860431d22816c1bdaa2ea72c2753396e
treedf1a82cc995ec45936bf9ded1f57166f5f8e1ee9
parent3c5473f80770768ab5712eb5a7492c16e97209fe
[PATCH] md: fix calculation of ->degraded for multipath and raid10

Two less-used md personalities have bugs in the calculation of ->degraded (the
extent to which the array is degraded).

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/multipath.c
drivers/md/raid10.c