]> git.hungrycats.org Git - linux/commitdiff
[PATCH] devfs pty fix
authorAndrew Morton <akpm@osdl.org>
Wed, 3 Sep 2003 18:13:31 +0000 (11:13 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 3 Sep 2003 18:13:31 +0000 (11:13 -0700)
From: Andrew Lunn <andrew@lunn.ch>

Create the pty slaves on init so the behaviour is consistant with 2.4 and 2.6
without devfs.

drivers/char/pty.c

index f91f50897543f6fa7804732dd053f0765c42ccbd..85fa5d9503cbad87ba3812d9a3ea7c10396c59e5 100644 (file)
@@ -354,7 +354,7 @@ int __init pty_init(void)
        pty_slave_driver->init_termios = tty_std_termios;
        pty_slave_driver->init_termios.c_cflag = B38400 | CS8 | CREAD;
        pty_slave_driver->flags = TTY_DRIVER_RESET_TERMIOS |
-                       TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS;
+                                       TTY_DRIVER_REAL_RAW;
        pty_slave_driver->other = pty_driver;
        tty_set_operations(pty_slave_driver, &pty_ops);