tty: move pty count limiting into devpts
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Thu, 5 Jan 2012 09:06:02 +0000 (13:06 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 22:00:41 +0000 (14:00 -0800)
commita4834c102f4a46808630cad1a545cb0706b3b0a2
tree683971bcb7796e1649b4bd9b15619d700aa9e0da
parent593a27c4b212e2afdf772a1f8dcb894e91bda0fa
tty: move pty count limiting into devpts

Let's move this stuff to the better place, where we can account pty right in
tty-indexes managing code.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/pty.c
fs/devpts/inode.c