[PATCH] md: fix up maintenance of ->degraded in multipath
authorNeilBrown <neilb@suse.de>
Sat, 28 Oct 2006 17:38:31 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 28 Oct 2006 18:30:51 +0000 (11:30 -0700)
commit750a8f3e8f64654a584e54038c2c8db380813c79
treed2227e5b694f4ff4ce57ce991213a8c5502f9393
parent01ab5662f573fe3a6bcefa200f15ab3069cec8a3
[PATCH] md: fix up maintenance of ->degraded in multipath

A recent fix which made sure ->degraded was initialised properly exposed a
second bug - ->degraded wasn't been updated when drives failed or were
hot-added.

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