From owner-svn-src-head@FreeBSD.ORG Fri Jan 4 07:52:48 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6EFE6F0B; Fri, 4 Jan 2013 07:52:48 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7602C0; Fri, 4 Jan 2013 07:52:48 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r047qmr7082681; Fri, 4 Jan 2013 07:52:48 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r047qmev082680; Fri, 4 Jan 2013 07:52:48 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201301040752.r047qmev082680@svn.freebsd.org> From: Konstantin Belousov Date: Fri, 4 Jan 2013 07:52:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245033 - head/sys/fs/nullfs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 07:52:48 -0000 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);