Back out rev. 1.266. The real cause for the recent panics has been fixed
in rev. 1.267 and there is no need to keep this test.
This commit is contained in:
parent
1d545c7a44
commit
cd1b20d58a
@ -340,7 +340,7 @@ tty_close(struct tty *tp)
|
||||
* this method. Only the thread clearing TS_ISOPEN should
|
||||
* release the reference to the tty.
|
||||
*/
|
||||
if (ISSET(ostate, TS_ISOPEN) && tp->t_refcnt > 1)
|
||||
if (ISSET(ostate, TS_ISOPEN))
|
||||
ttyrel(tp);
|
||||
splx(s);
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user