commit | fa2ecfc5a68d85624bbd84f7d010860776b7e602 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Thu Oct 18 22:26:31 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 22 16:50:13 2012 -0700 |
tree | 531ad8fdd185f96655f084a43ee1adb291941321 | |
parent | 1dcb8e6d1c23f2e021639199fdf64d5b42689207 [diff] |
TTY: move devpts kill to pty Now that we have control over tty->driver_data in pty, we can just kill the /dev/pts/ in pty code too. Namely, in ->shutdown hook of tty. For pty, this is called only once, for whichever end is closed last. But we don't care, both driver_data are the inode as it used to be till now. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>