K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-12T09:04:44.072579Z K 7 svn:log V 329 Don't forget to relock the TTY after uiomove() returns an error. Peter Holm just discovered this funny bug inside the TTY code: if uiomove() in ttydisc_write() returns an error, we forget to relock the TTY before jumping out of ttydisc_write(). Fix it by placing tty_unlock() and tty_lock() around uiomove(). Submitted by: pho END