diff options
author | Neil Brown <neilb@suse.de> | 2005-06-07 23:16:36 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-06-07 23:16:36 +0000 |
commit | 234a131a3338bb1509c6d2e0af4c6dcd9cef25fc (patch) | |
tree | 86cf041e3a7c573b5d1a0d771f996e503c76b1eb /super0.c | |
parent | a825febc061252f09516429897184fab3b566764 (diff) | |
download | mdadm-234a131a3338bb1509c6d2e0af4c6dcd9cef25fc.tar.gz mdadm-234a131a3338bb1509c6d2e0af4c6dcd9cef25fc.tar.xz mdadm-234a131a3338bb1509c6d2e0af4c6dcd9cef25fc.zip |
Wasn't initialising spare disks on create.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -362,6 +362,7 @@ static int init_super0(void **sbp, mdu_array_info_t *info) sb->active_disks = info->active_disks; sb->working_disks = info->working_disks; sb->failed_disks = info->failed_disks; + sb->spare_disks = info->spare_disks; sb->events_hi = 0; sb->events_lo = 1; |