summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 91bca8a61f5..a6ffba7f70d 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.332 2014/07/10 12:21:09 mpi Exp $ */
+/* $OpenBSD: softraid.c,v 1.333 2014/07/12 07:39:11 blambert Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -3927,6 +3927,8 @@ sr_discipline_init(struct sr_discipline *sd, int level)
sd->sd_start_discipline = NULL;
task_set(&sd->sd_meta_save_task, sr_meta_save_callback, sd, NULL);
+ task_set(&sd->sd_hotspare_rebuild_task, sr_hotspare_rebuild_callback,
+ sd, NULL);
switch (level) {
case 0: