summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-03 10:15:48 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 17:04:17 +0200
commit76186dd8b73d2b7b9b4c8629b89c845e97009801 (patch)
tree1f1c2fe5530de65fa149faa3e6b2969044e7b0a8 /include
parent[PATCH] md: remove the working_disks and failed_disks from raid5 state data. (diff)
downloadlinux-76186dd8b73d2b7b9b4c8629b89c845e97009801.tar.xz
linux-76186dd8b73d2b7b9b4c8629b89c845e97009801.zip
[PATCH] md: remove 'working_disks' from raid10 state
It isn't needed as mddev->degraded contains equivalent info. 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')
-rw-r--r--include/linux/raid/raid10.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/raid/raid10.h b/include/linux/raid/raid10.h
index c41e56a7c090..e9091cfeb286 100644
--- a/include/linux/raid/raid10.h
+++ b/include/linux/raid/raid10.h
@@ -16,7 +16,6 @@ struct r10_private_data_s {
mddev_t *mddev;
mirror_info_t *mirrors;
int raid_disks;
- int working_disks;
spinlock_t device_lock;
/* geometry */