[PATCH] md: remove the working_disks and failed_disks from raid5 state data.
authorNeilBrown <neilb@suse.de>
Tue, 3 Oct 2006 08:15:47 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:17 +0000 (08:04 -0700)
commit02c2de8cc835885bdff51a8bfd6c0b659b969f50
tree3c3b3adf01e4ec4139888d681eca5becb3374fda
parent850b2b420cd5b363ed4cf48a8816d656c8b5251b
[PATCH] md: remove the working_disks and failed_disks from raid5 state data.

They are not needed.  conf->failed_disks is the same as mddev->degraded and
conf->working_disks is conf->raid_disks - mddev->degraded.

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/raid5.c
include/linux/raid/raid5.h