Date: Wed, 20 Jan 2016 12:10:14 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294414 - head/sys/sys Message-ID: <201601201210.u0KCAEwi031846@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Wed Jan 20 12:10:14 2016 New Revision: 294414 URL: https://svnweb.freebsd.org/changeset/base/294414 Log: Correct assertions in r294362, foobared when separating style fixes from functional changes before commit. Modified: head/sys/sys/ttydevsw.h Modified: head/sys/sys/ttydevsw.h ============================================================================== --- head/sys/sys/ttydevsw.h Wed Jan 20 11:57:11 2016 (r294413) +++ head/sys/sys/ttydevsw.h Wed Jan 20 12:10:14 2016 (r294414) @@ -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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601201210.u0KCAEwi031846>