tty: Abstract tty buffer work
Introduce API functions to restart and cancel tty buffer work, rather than manipulate buffer work directly. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
这个提交包含在:
@@ -201,7 +201,7 @@ static void n_tty_kick_worker(struct tty_struct *tty)
|
||||
*/
|
||||
WARN_RATELIMIT(test_bit(TTY_LDISC_HALTED, &tty->flags),
|
||||
"scheduling buffer work for halted ldisc\n");
|
||||
queue_work(system_unbound_wq, &tty->port->buf.work);
|
||||
tty_buffer_restart_work(tty->port);
|
||||
}
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户