Done. (Attached.)
Now, however, when I revoke() a tty, I get the famous old "tty->count !=
#fd's".
Oh, I see. We need the following change in tty_io.c as well, which
should be safe (although I haven't tested it yet):
(pseudo-patch follows)
tty_io.c, arround line 1127:
+ filp->private_data = 0;
/* check whether both sides are closing ... */
if (!tty_closing || (o_tty && !o_tty_closing))
return;
- filp->private_data = 0;
(i.e, move filp->private_data to before the return statement).
- Ted