Dmitry Safonov
cf62a1a137
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>
2018-12-05 12:16:33 +01:00
..
2018-09-10 18:04:31 +02:00
2018-10-13 00:50:31 -04:00
2018-11-27 19:44:21 +01:00
2018-12-05 11:02:39 +01:00
2018-11-10 13:32:14 -06:00
2018-10-13 00:50:53 -04:00
2018-10-13 00:50:30 -04:00
2018-09-18 16:07:25 +02:00
2018-07-07 17:52:26 +02:00
2018-10-13 00:50:31 -04:00
2018-04-09 09:04:10 -07:00
2018-03-26 15:57:24 +02:00
2017-11-08 13:08:12 +01:00
2018-10-13 00:50:32 -04:00
2017-11-28 15:32:33 +01:00
2018-10-13 00:50:32 -04:00
2017-11-02 11:10:55 +01:00
2018-10-13 00:50:53 -04:00
2018-12-05 12:16:33 +01:00
2017-11-08 13:08:12 +01:00
2018-12-05 12:16:33 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-12-05 12:16:33 +01:00
2018-04-25 14:54:26 +02:00
2018-10-13 00:50:51 -04:00
2017-11-02 11:10:55 +01:00
2018-08-02 10:11:32 +02:00
2017-11-02 11:10:55 +01:00
2018-10-13 00:50:52 -04:00
2018-10-13 00:50:43 -04:00
2018-10-13 00:50:43 -04:00
2018-12-05 12:02:12 +01:00
2018-06-19 10:43:55 -04:00
2018-11-08 03:36:45 -08:00
2018-10-11 19:50:00 +02:00
2018-12-05 12:16:33 +01:00
2018-09-14 11:12:17 -04:00
2017-11-08 13:08:12 +01:00
2018-12-05 12:16:33 +01:00
2018-12-05 12:16:33 +01:00
2017-11-02 11:10:55 +01:00
2018-09-18 16:07:25 +02:00
2017-11-04 12:01:54 +01:00