diff options
author | mbr <mbr@FreeBSD.org> | 2006-12-20 02:49:59 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2006-12-20 02:49:59 +0000 |
commit | a2c03bf6cb1ee55d23a34b899999fb7fb95310a3 (patch) | |
tree | 8c7081ae7fa5ce595d5ba8d6352793539ab5b0f0 | |
parent | ebde1ab2c049258b11f750c4c2e7dc532958b33c (diff) | |
download | FreeBSD-src-a2c03bf6cb1ee55d23a34b899999fb7fb95310a3.zip FreeBSD-src-a2c03bf6cb1ee55d23a34b899999fb7fb95310a3.tar.gz |
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.
-rw-r--r-- | sys/kern/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 1d6c70e..adac296 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -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); |