Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2012 13:17:22 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r244655 - stable/9/sys/fs/nullfs
Message-ID:  <201212241317.qBODHM1M011801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon Dec 24 13:17:22 2012
New Revision: 244655
URL: http://svnweb.freebsd.org/changeset/base/244655

Log:
  MFC r243340:
  Remove the check and panic for an impossible condition.

Modified:
  stable/9/sys/fs/nullfs/null_subr.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/fs/   (props changed)

Modified: stable/9/sys/fs/nullfs/null_subr.c
==============================================================================
--- stable/9/sys/fs/nullfs/null_subr.c	Mon Dec 24 13:14:38 2012	(r244654)
+++ stable/9/sys/fs/nullfs/null_subr.c	Mon Dec 24 13:17:22 2012	(r244655)
@@ -255,8 +255,6 @@ null_nodeget(mp, lowervp, vpp)
 	vp->v_type = lowervp->v_type;
 	vp->v_data = xp;
 	vp->v_vnlock = lowervp->v_vnlock;
-	if (vp->v_vnlock == NULL)
-		panic("null_nodeget: Passed a NULL vnlock.\n");
 	error = insmntque1(vp, mp, null_insmntque_dtr, xp);
 	if (error != 0)
 		return (error);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212241317.qBODHM1M011801>