Date: Tue, 02 Aug 2016 07:00:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191953] [vfs] [patch] better KASSERT msg in _vn_lock() Message-ID: <bug-191953-8-cfcBLjxbKf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191953-8@https.bugs.freebsd.org/bugzilla/> References: <bug-191953-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191953 Andriy Gapon <avg@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Works As Intended --- Comment #5 from Andriy Gapon <avg@FreeBSD.org> --- It seems that we could benefit from having a macro like KASSERT_IMPLY which would assert A =3D> B, that is, if A is true, then B must also be true (and= B can be anything if A is false). In FreeBSD kernel this gets written as KASSERT= (!A || B, ...) and sometimes there is a confusion when mapping back the code to= the logical statement. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191953-8-cfcBLjxbKf>