Correct assertions in r294362, foobared when separating style fixes
from functional changes before commit.
This commit is contained in:
parent
563073febe
commit
ecc696b799
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user