summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_ldisc.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-11-16 19:27:11 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-17 23:42:09 +0400
commit484af54d432c39891ff27ad0e5194d28513063cc (patch)
treecd656b995aef9ce30927fc94ca994e82558c1363 /drivers/tty/tty_ldisc.c
parentc0d92be6bc4fbbf6402fde2c0bc08fc4d2b58430 (diff)
downloadlinux-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