Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Remove an extraneous TTY_UNLOCK. With a LOCKDEBUG k...
details: https://anonhg.NetBSD.org/src/rev/e3f73974bc1b
branches: trunk
changeset: 581953:e3f73974bc1b
user: christos <christos%NetBSD.org@localhost>
date: Sat Jun 11 22:42:24 2005 +0000
description:
Remove an extraneous TTY_UNLOCK. With a LOCKDEBUG kernel, sending FLUSHO
causes a locking assertion.
diffstat:
sys/kern/tty.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 5ecf961cc14a -r e3f73974bc1b sys/kern/tty.c
--- a/sys/kern/tty.c Sat Jun 11 22:26:42 2005 +0000
+++ b/sys/kern/tty.c Sat Jun 11 22:42:24 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tty.c,v 1.172 2005/05/08 18:44:39 christos Exp $ */
+/* $NetBSD: tty.c,v 1.173 2005/06/11 22:42:24 christos Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1991, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.172 2005/05/08 18:44:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.173 2005/06/11 22:42:24 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1976,7 +1976,6 @@
*/
while (uio->uio_resid > 0 || cc > 0) {
if (ISSET(tp->t_lflag, FLUSHO)) {
- TTY_UNLOCK(tp);
uio->uio_resid = 0;
return (0);
}
Home |
Main Index |
Thread Index |
Old Index