aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/tty_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index 8540f2bab9c6..55bb456e8f1c 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -1894,6 +1894,7 @@ got_driver:
1894 retval = tty_add_file(tty, filp); 1894 retval = tty_add_file(tty, filp);
1895 if (retval) { 1895 if (retval) {
1896 tty_unlock(); 1896 tty_unlock();
1897 tty_release(inode, filp);
1897 return retval; 1898 return retval;
1898 } 1899 }
1899 1900