mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[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>
This commit is contained in:
parent
867868fb55
commit
11ce99e625
2 changed files with 12 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue