tty: Refactor session leader SIGHUP from __tty_hangup()
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 6 Mar 2013 12:20:53 +0000 (07:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 21:02:32 +0000 (14:02 -0700)
commitea648a47e83d7cda0832f96de215464e2c35b2c2
tree9ad206c3805ccc389a8aeedd7e7e1e57ac0a1c3b
parentf3c8279d694a5c2c455cdcb3323e2349b40c542f
tty: Refactor session leader SIGHUP from __tty_hangup()

Reduce complexity of __tty_hangup(); separate SIGHUP signalling
into tty_signal_session_leader().

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