svn commit: r244655 - stable/9/sys/fs/nullfs

Konstantin Belousov kib at FreeBSD.org
Mon Dec 24 13:17:23 UTC 2012


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);


More information about the svn-src-stable-9 mailing list