From: Jiri Slaby Date: Thu, 18 Oct 2012 20:26:31 +0000 (+0200) Subject: TTY: move devpts kill to pty X-Git-Tag: omap-for-v3.8/cleanup-headers-serial-take2-signed~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa2ecfc5a68d85624bbd84f7d010860776b7e602;p=pandora-kernel.git 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 Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed