Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2008 00:59:36 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185958 - head/sys/fs/deadfs
Message-ID:  <200812120059.mBC0xaXg081765@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcus (doc,ports committer)
Date: Fri Dec 12 00:59:36 2008
New Revision: 185958
URL: http://svn.freebsd.org/changeset/base/185958

Log:
  Add a simple VOP_VPTOCNP implementation for deadfs which returns EBADF.
  
  Reviewed by:	arch
  Approved by:	kib

Modified:
  head/sys/fs/deadfs/dead_vnops.c

Modified: head/sys/fs/deadfs/dead_vnops.c
==============================================================================
--- head/sys/fs/deadfs/dead_vnops.c	Fri Dec 12 00:58:52 2008	(r185957)
+++ head/sys/fs/deadfs/dead_vnops.c	Fri Dec 12 00:59:36 2008	(r185958)
@@ -78,6 +78,7 @@ struct vop_vector dead_vnodeops = {
 	.vop_rmdir =		VOP_PANIC,
 	.vop_setattr =		VOP_EBADF,
 	.vop_symlink =		VOP_PANIC,
+	.vop_vptocnp =		VOP_EBADF,
 	.vop_write =		dead_write,
 };
 



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