summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-03 12:15:52 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 19:04:17 +0400
commit11ce99e625fe2718ad2682bfdd99070b337e6252 (patch)
tree48e40104a058f27e9cd717c42edcf6738fef2372 /include/linux/raid
parent867868fb557eb2a2120b80779468fa372584ddb0 (diff)
downloadlinux-11ce99e625fe2718ad2682bfdd99070b337e6252.tar.xz
[PATCH] md: Remove working_disks from raid1 state data
It is equivalent to conf->raid_disks - conf->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/raid1.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/raid/raid1.h b/include/linux/raid/raid1.h
index 3009c813d83d..0a9ba7c3302e 100644
--- a/include/linux/raid/raid1.h
+++ b/include/linux/raid/raid1.h
@@ -30,7 +30,6 @@ struct r1_private_data_s {
mddev_t *mddev;
mirror_info_t *mirrors;
int raid_disks;
- int working_disks;
int last_used;
sector_t next_seq_sect;
spinlock_t device_lock;