summaryrefslogtreecommitdiffstats
path: root/drivers/char/tty_io.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-13 12:21:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-13 12:21:44 -0700
commitbf6239eb84e6d7331f168cd3593958b656ce42a3 (patch)
tree9f123cdc8f4616dadec022fb3c03222feab2a9a9 /drivers/char/tty_io.c
parent4462dc02842698f173f518c1f5ce79c0fb89395a (diff)
parent1c5250d6163dac28be3afabdfb6c723f107051b7 (diff)
downloadkernel-crypto-bf6239eb84e6d7331f168cd3593958b656ce42a3.tar.gz
kernel-crypto-bf6239eb84e6d7331f168cd3593958b656ce42a3.tar.xz
kernel-crypto-bf6239eb84e6d7331f168cd3593958b656ce42a3.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: serial: imx.c: fix CTS trigger level lower to avoid lost chars tty: Fix unbalanced BKL handling in error path serial: mpc52xx_uart: fix null pointer dereference
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r--drivers/char/tty_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index 6da962c9b21..d71f0fc34b4 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -1875,6 +1875,7 @@ got_driver:
*/
if (filp->f_op == &hung_up_tty_fops)
filp->f_op = &tty_fops;
+ unlock_kernel();
goto retry_open;
}
unlock_kernel();