diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 05:38:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 12:51:41 -0400 |
commit | 8f520021837d45c47d0ab57e7271f8d88bf7f3a4 (patch) | |
tree | 4435f3141163480c23f7274c502d58e3cd9cb963 /drivers/char/tty_io.c | |
parent | 1d65b4a088de407e99714fdc27862449db04fb5c (diff) |
tty: Termios locking - sort out real_tty confusions and lock reads
This moves us towards sanity and should mean our termios locking is now
complete and comprehensive.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r-- | drivers/char/tty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index fa162c93ee02..ac53d7f9b5d4 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -2605,7 +2605,7 @@ long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
2605 | case TIOCSTI: | 2605 | case TIOCSTI: |
2606 | return tiocsti(tty, p); | 2606 | return tiocsti(tty, p); |
2607 | case TIOCGWINSZ: | 2607 | case TIOCGWINSZ: |
2608 | return tiocgwinsz(tty, p); | 2608 | return tiocgwinsz(real_tty, p); |
2609 | case TIOCSWINSZ: | 2609 | case TIOCSWINSZ: |
2610 | return tiocswinsz(tty, real_tty, p); | 2610 | return tiocswinsz(tty, real_tty, p); |
2611 | case TIOCCONS: | 2611 | case TIOCCONS: |