Re: [PATCH] 2.5.68-bk1 crash in devfs_remove() for defpts files

Christoph Hellwig
2003-04-21T22:13:57Z

On Mon, Apr 21, 2003 at 05:45:19PM -0400, Pavel Roskin wrote:
> On Mon, 21 Apr 2003, Christoph Hellwig wrote:
>
> > And you are sure you have the following line in pty.c:
> >
> > pts_driver[i].flags |= TTY_DRIVER_NO_DEVFS;
>
> Yes, it's in drivers/char/pty.c, line 458.
>
> The complete diff between the clean source and my current tree is
> attached.
>
> I have forced another rebuild, but the problem with disappearing /dev/pts
> persists.

This one ontop should really fix it...

(fingers crossed..)

--- 1.11/drivers/char/pty.c Mon Mar 31 03:16:19 2003
+++ edited/drivers/char/pty.c Mon Apr 21 23:02:55 2003
@@ -95,7 +95,6 @@
}
}
#endif
- tty_unregister_device (&tty->link->driver, minor(tty->device));
tty_vhangup(tty->link);
}
}