Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drbd83: Backport flush_signals() before kthread_run() fix
See http://elrepo.org/bugs/view.php?id=533 Committed-by: Madison Kelly <mkelly@alteeve.ca> Signed-off-by: Philip J Perry <phil@elrepo.org>
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff -Naurp a/drbd/drbd_nl.c b/drbd/drbd_nl.c | ||
--- a/drbd/drbd_nl.c 2013-08-14 13:55:40.000000000 +0100 | ||
+++ b/drbd/drbd_nl.c 2014-11-24 19:28:43.000000000 +0000 | ||
@@ -303,6 +303,7 @@ void drbd_try_outdate_peer_async(struct | ||
{ | ||
struct task_struct *opa; | ||
|
||
+ flush_signals(current); | ||
opa = kthread_run(_try_outdate_peer_async, mdev, "drbd%d_a_helper", mdev_to_minor(mdev)); | ||
if (IS_ERR(opa)) | ||
dev_err(DEV, "out of mem, failed to invoke fence-peer helper\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters