提交 3e1ac130 编写于 作者: O Oleg Nesterov 提交者: Linus Torvalds

kcdrwd: remove unneeded flush_signals() call

kcdrwd() is a kernel thread, all signals are ignored.
Signed-off-by: NOleg Nesterov <oleg@tv-sign.ru>
Cc: Peter Osterlund <petero2@telia.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1b6dd9ba
......@@ -1652,9 +1652,6 @@ static int kcdrwd(void *foobar)
}
}
if (signal_pending(current)) {
flush_signals(current);
}
if (kthread_should_stop())
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册