Commit 953f375a authored by Philipp Reisner's avatar Philipp Reisner

Fixed a bug introduced with the kernel_thread() -> kthread_create() change.

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent 908ce214
...@@ -1438,6 +1438,7 @@ int drbd_thread_start(struct drbd_thread *thi) ...@@ -1438,6 +1438,7 @@ int drbd_thread_start(struct drbd_thread *thi)
return FALSE; return FALSE;
} }
init_completion(&thi->stop);
D_ASSERT(thi->task == NULL); D_ASSERT(thi->task == NULL);
thi->reset_cpu_mask = 1; thi->reset_cpu_mask = 1;
thi->t_state = Running; thi->t_state = Running;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment