aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-03 04:15:47 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 11:04:17 -0400
commit02c2de8cc835885bdff51a8bfd6c0b659b969f50 (patch)
tree3c3b3adf01e4ec4139888d681eca5becb3374fda /include/linux/raid
parent850b2b420cd5b363ed4cf48a8816d656c8b5251b (diff)
[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>
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/raid5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/raid5.h b/include/linux/raid/raid5.h
index f1e28952a82..f13299a1559 100644
--- a/include/linux/raid/raid5.h
+++ b/include/linux/raid/raid5.h
@@ -214,7 +214,7 @@ struct raid5_private_data {
214 struct disk_info *spare; 214 struct disk_info *spare;
215 int chunk_size, level, algorithm; 215 int chunk_size, level, algorithm;
216 int max_degraded; 216 int max_degraded;
217 int raid_disks, working_disks, failed_disks; 217 int raid_disks;
218 int max_nr_stripes; 218 int max_nr_stripes;
219 219
220 /* used during an expand */ 220 /* used during an expand */