K 10 svn:author V 2 ed K 8 svn:date V 27 2008-09-24T11:16:09.802531Z K 7 svn:log V 448 Fix a crash when calling tty_rel_free() while draining during closure. Yesterday I got two reports of potential crashes, related to TTY deallocation during device closure. When a thread is in TF_OPENCLOSE, draining its output upon closure, we should not allow calls to tty_rel_free() to happen at the same time. This could cause the TTY to be torn down twice. PR: kern/127561 Reported by: KOIE Hidetaka Discussed with: thompsa END