tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
authorJiri Slaby <jslaby@suse.cz>
Thu, 7 Jul 2022 08:25:57 +0000 (10:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jul 2022 15:25:32 +0000 (17:25 +0200)
commit816c301b6a739ae0a78b566248acc0bc81fe05c7
tree0d6783afa82058b600eafa01bc05cf250d6d1da1
parent35545303454a0a711db2f61eae693647e3a87b4b
tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()

commit 716b10580283fda66f2b88140e3964f8a7f9da89 upstream.

We will need this new helper in the next patch.

Cc: Hillf Danton <hdanton@sina.com>
Cc: 一只狗 <chennbnbnb@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220707082558.9250-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c