patch-2.1.124 linux/drivers/char/tty_io.c

Next file: linux/drivers/isdn/isdn_net.c
Previous file: linux/drivers/char/pty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -1276,8 +1276,10 @@
 	if (retval)
 		return retval;
 
+#ifdef CONFIG_UNIX98_PTYS
 	/* N.B. this error exit may leave filp->f_flags with O_NONBLOCK set */
 init_dev_done:
+#endif
 	filp->private_data = tty;
 	check_tty_count(tty, "tty_open");
 	if (tty->driver.type == TTY_DRIVER_TYPE_PTY &&

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov