Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 14:35:22 +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: r189622 - head/sys/fs/nullfs
Message-ID:  <200903101435.n2AEZMGB064723@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Mar 10 14:35:21 2009
New Revision: 189622
URL: http://svn.freebsd.org/changeset/base/189622

Log:
  Do not use bypass for vop_vptocnp() from nullfs, call standard
  implementation instead. The bypass does not assume that returned vnode
  is only held.
  
  Reported by:	Paul B. Mahol <onemda gmail com>, pluknet <pluknet gmail com>
  Reviewed by:	jhb
  Tested by:	pho, pluknet <pluknet gmail com>

Modified:
  head/sys/fs/nullfs/null_vnops.c

Modified: head/sys/fs/nullfs/null_vnops.c
==============================================================================
--- head/sys/fs/nullfs/null_vnops.c	Tue Mar 10 14:29:34 2009	(r189621)
+++ head/sys/fs/nullfs/null_vnops.c	Tue Mar 10 14:35:21 2009	(r189622)
@@ -742,5 +742,6 @@ struct vop_vector null_vnodeops = {
 	.vop_setattr =		null_setattr,
 	.vop_strategy =		VOP_EOPNOTSUPP,
 	.vop_unlock =		null_unlock,
+	.vop_vptocnp =		vop_stdvptocnp,
 	.vop_vptofh =		null_vptofh,
 };



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