diff options
author | Alan Cox <alan@linux.intel.com> | 2009-11-30 08:18:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 18:18:08 -0500 |
commit | eeb89d918c2fa2b809e464136bbafdaec2aacb30 (patch) | |
tree | d811f53e0182c40a793b948e72739040670f97c8 /drivers/char/pty.c | |
parent | e8c62103fd5fecc8d2086bae244b32d089892175 (diff) |
tty: push the BKL down into the handlers a bit
Start trying to untangle the remaining BKL mess
Updated to fix missing unlock_kernel noted by Dan Carpenter
Signed-off-by: Alan "I must be out of my tree" Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/pty.c')
-rw-r--r-- | drivers/char/pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pty.c b/drivers/char/pty.c index d86c0bc05c1c..385c44b3034f 100644 --- a/drivers/char/pty.c +++ b/drivers/char/pty.c | |||
@@ -659,7 +659,7 @@ static int __ptmx_open(struct inode *inode, struct file *filp) | |||
659 | if (!retval) | 659 | if (!retval) |
660 | return 0; | 660 | return 0; |
661 | out1: | 661 | out1: |
662 | tty_release_dev(filp); | 662 | tty_release(inode, filp); |
663 | return retval; | 663 | return retval; |
664 | out: | 664 | out: |
665 | devpts_kill_index(inode, index); | 665 | devpts_kill_index(inode, index); |