summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-03 01:15:48 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 08:04:17 -0700
commit76186dd8b73d2b7b9b4c8629b89c845e97009801 (patch)
tree1f1c2fe5530de65fa149faa3e6b2969044e7b0a8 /include/linux
parent02c2de8cc835885bdff51a8bfd6c0b659b969f50 (diff)
downloadlinux-stable-76186dd8b73d2b7b9b4c8629b89c845e97009801.tar.gz
linux-stable-76186dd8b73d2b7b9b4c8629b89c845e97009801.tar.bz2
linux-stable-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/linux')
-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 */