Commit 02e55c81 authored by Linus Torvalds's avatar Linus Torvalds

Fix up tty locking update for sgttyb emulation (TIOCGETP and TIOCSETP).

parent a45e497b
......@@ -293,6 +293,7 @@ static int set_sgttyb(struct tty_struct * tty, struct sgttyb __user * sgttyb)
int retval;
struct sgttyb tmp;
struct termios termios;
unsigned long flags;
retval = tty_check_change(tty);
if (retval)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment