summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2018-11-01 01:24:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-05 12:16:33 +0100
commitcf62a1a13749db0d32b5cdd800ea91a4087319de (patch)
tree6e0b9353bf06d6e167bd9fcff0da3eb00605182d /Documentation
parenttty: Don't block on IO when ldisc change is pending (diff)
downloadlinux-cf62a1a13749db0d32b5cdd800ea91a4087319de.tar.xz
linux-cf62a1a13749db0d32b5cdd800ea91a4087319de.zip
tty: Simplify tty->count math in tty_reopen()
As notted by Jiri, tty_ldisc_reinit() shouldn't rely on tty counter. Simplify math by increasing the counter after reinit success. Cc: Jiri Slaby <jslaby@suse.com> Link: lkml.kernel.org/r/<20180829022353.23568-2-dima@arista.com> Suggested-by: Jiri Slaby <jslaby@suse.com> Reviewed-by: Jiri Slaby <jslaby@suse.cz> Tested-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions