Date: Fri, 4 Jan 2013 07:52:48 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245033 - head/sys/fs/nullfs Message-ID: <201301040752.r047qmev082680@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Jan 4 07:52:47 2013 New Revision: 245033 URL: http://svnweb.freebsd.org/changeset/base/245033 Log: Fix reversed condition in the assertion. Pointy hat to: kib MFC after: 13 days Modified: head/sys/fs/nullfs/null_subr.c Modified: head/sys/fs/nullfs/null_subr.c ============================================================================== --- head/sys/fs/nullfs/null_subr.c Fri Jan 4 06:29:52 2013 (r245032) +++ head/sys/fs/nullfs/null_subr.c Fri Jan 4 07:52:47 2013 (r245033) @@ -224,7 +224,7 @@ null_nodeget(mp, lowervp, vpp) * provide ready to use vnode. */ if (VOP_ISLOCKED(lowervp) != LK_EXCLUSIVE) { - KASSERT((MOUNTTONULLMOUNT(mp)->nullm_flags & NULLM_CACHE) == 0, + KASSERT((MOUNTTONULLMOUNT(mp)->nullm_flags & NULLM_CACHE) != 0, ("lowervp %p is not excl locked and cache is disabled", lowervp)); vn_lock(lowervp, LK_UPGRADE | LK_RETRY);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301040752.r047qmev082680>