Messages in this thread Patch in this message | | | Date | Thu, 16 Oct 2008 10:56:30 -0700 | From | Greg KH <> | Subject | [patch 05/14] tty: Termios locking - sort out real_tty confusions and lock reads |
| |
2.6.27-stable review patch. If anyone has any objections, please let us know.
------------------ From: Alan Cox <alan@redhat.com>
commit 8f520021837d45c47d0ab57e7271f8d88bf7f3a4 upstream
(only the tty_io.c portion of this commit)
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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--- drivers/char/tty_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -2996,7 +2996,7 @@ long tty_ioctl(struct file *file, unsign case TIOCSTI: return tiocsti(tty, p); case TIOCGWINSZ: - return tiocgwinsz(tty, p); + return tiocgwinsz(real_tty, p); case TIOCSWINSZ: return tiocswinsz(tty, real_tty, p); case TIOCCONS: --
| |