diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-11-16 19:27:11 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-17 23:42:09 +0400 |
commit | 484af54d432c39891ff27ad0e5194d28513063cc (patch) | |
tree | cd656b995aef9ce30927fc94ca994e82558c1363 /drivers/tty/tty_ldisc.c | |
parent | c0d92be6bc4fbbf6402fde2c0bc08fc4d2b58430 (diff) | |
download | linux-484af54d432c39891ff27ad0e5194d28513063cc.tar.xz |
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>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions