Commit 9982e8c9 authored by Philipp Reisner's avatar Philipp Reisner

found by using lockdep

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent 953f375a
......@@ -1454,10 +1454,10 @@ int drbd_thread_start(struct drbd_thread *thi)
module_put(THIS_MODULE);
return FALSE;
}
spin_lock(&thi->t_lock);
spin_lock_irqsave(&thi->t_lock, flags);
thi->task = nt;
thi->t_state = Running;
spin_unlock(&thi->t_lock);
spin_unlock_irqrestore(&thi->t_lock, flags);
wake_up_process(nt);
break;
case Exiting:
......
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