From: Jiri Slaby Date: Wed, 16 Nov 2011 15:27:11 +0000 (+0100) Subject: TTY: pty, cleanup the pty counting X-Git-Tag: v3.3-rc1~154^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=484af54d432c39891ff27ad0e5194d28513063cc;p=pandora-kernel.git TTY: pty, cleanup the pty counting Instead of the hackish way of counting ptys, let's define a specific ->remove hook both from slave and master. And decrease the count only for master. Signed-off-by: Jiri Slaby Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed