Correct assertions in r294362, foobared when separating style fixes

from functional changes before commit.
This commit is contained in:
marius 2016-01-20 12:10:14 +00:00
parent 563073febe
commit ecc696b799

View File

@ -188,7 +188,8 @@ static __inline bool
ttydevsw_busy(struct tty *tp)
{
MPASS(tty_gone(tp));
tty_lock_assert(tp, MA_OWNED);
MPASS(!tty_gone(tp));
return (tp->t_devsw->tsw_busy(tp));
}