Date: Thu, 21 Aug 2008 19:07:28 GMT From: Ed Schouten <ed@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 148026 for review Message-ID: <200808211907.m7LJ7S7D090263@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=148026 Change 148026 by ed@ed_flippo on 2008/08/21 19:06:59 Remove a stale check for tty_gone() inside the ttyoutq. Line disciplines are no more. Affected files ... .. //depot/projects/mpsafetty/sys/kern/tty_outq.c#6 edit Differences ... ==== //depot/projects/mpsafetty/sys/kern/tty_outq.c#6 (text+ko) ==== @@ -250,12 +250,6 @@ error = uiomove(tob->tob_data + cbegin, clen, uio); tty_lock(tp); - if (tty_gone(tp)) { - /* We lost the discipline. */ - uma_zfree(ttyoutq_zone, tob); - return (ENXIO); - } - /* Block can now be readded to the list. */ /* * XXX: we could remove the blocks here when the @@ -282,11 +276,6 @@ error = uiomove(ob, clen, uio); tty_lock(tp); - if (tty_gone(tp)) { - /* We lost the discipline. */ - return (ENXIO); - } - if (error != 0) return (error); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808211907.m7LJ7S7D090263>