commit | 484af54d432c39891ff27ad0e5194d28513063cc | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Wed Nov 16 16:27:11 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Nov 17 11:42:09 2011 -0800 |
tree | cd656b995aef9ce30927fc94ca994e82558c1363 | |
parent | c0d92be6bc4fbbf6402fde2c0bc08fc4d2b58430 [diff] |
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 <jslaby@suse.cz> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>