]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Only perform flip buffer flush from tty_buffer_flush()
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:11 +0000 (09:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:09 +0000 (16:47 -0700)
commit9245b8feef6a175b98789f5723285f00a889e831
treec60c359eb4398fae7687320fd2c89220916b9cb9
parente4d100eb2b1156f2a465dd281b4a0dae95b335e3
tty: Only perform flip buffer flush from tty_buffer_flush()

Now that dropping the buffer lock is not necessary (as result of
converting the spin lock to a mutex), the flip buffer flush no
longer needs to be handled by the buffer work.

Simply signal a flush is required; the buffer work will exit the
i/o loop, which allows tty_buffer_flush() to proceed.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c
include/linux/tty.h