tty: Bracket ldisc release with TTY_DEBUG_HANGUP messages
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Mar 2013 20:44:37 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:46:30 +0000 (16:46 -0700)
commit96433d104a4b39c43dd6f57776f9fcb765111a56
tree543ccce91da6c79ca24f97d9aae5352ce23e5613
parentc8785241741d4bc3ee6da2ff415a9a1b3df2b4cb
tty: Bracket ldisc release with TTY_DEBUG_HANGUP messages

Expected typical log output:
[    2.437211] tty_open: opening pts1...
[    2.443376] tty_open: opening pts5...
[    2.447830] tty_release: ptm0 (tty count=1)...
[    2.447849] pts0 vhangup...
[    2.447865] tty_release: ptm0: final close
[    2.447876] tty_release: ptm0: freeing structure...
[    2.451634] tty_release: tty1 (tty count=1)...
[    2.451638] tty_release: tty1: final close
[    2.451654] tty_release: tty1: freeing structure...
[    2.452505] tty_release: pts5 (tty count=2)...
[    2.453029] tty_open: opening pts0...

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