diff options
author | NeilBrown <neilb@suse.de> | 2006-10-03 01:15:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 08:04:17 -0700 |
commit | 11ce99e625fe2718ad2682bfdd99070b337e6252 (patch) | |
tree | 48e40104a058f27e9cd717c42edcf6738fef2372 /include/linux | |
parent | 867868fb557eb2a2120b80779468fa372584ddb0 (diff) |
[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')
-rw-r--r-- | include/linux/raid/raid1.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/raid/raid1.h b/include/linux/raid/raid1.h index 3009c813d83..0a9ba7c3302 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; |