Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2008 00:58:52 +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: r185957 - head/sys/sys
Message-ID:  <200812120058.mBC0wqAR081716@svn.freebsd.org>

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

Log:
  Add a new error VOP, VOP_ENOENT.  This function will simply return ENOENT.
  
  Reviewed by:	arch
  Approved by:	kib

Modified:
  head/sys/sys/vnode.h

Modified: head/sys/sys/vnode.h
==============================================================================
--- head/sys/sys/vnode.h	Fri Dec 12 00:57:38 2008	(r185956)
+++ head/sys/sys/vnode.h	Fri Dec 12 00:58:52 2008	(r185957)
@@ -659,6 +659,7 @@ int	vop_stdvptofh(struct vop_vptofh_args
 int	vop_eopnotsupp(struct vop_generic_args *ap);
 int	vop_ebadf(struct vop_generic_args *ap);
 int	vop_einval(struct vop_generic_args *ap);
+int	vop_enoent(struct vop_generic_args *ap);
 int	vop_enotty(struct vop_generic_args *ap);
 int	vop_null(struct vop_generic_args *ap);
 int	vop_panic(struct vop_generic_args *ap);
@@ -723,6 +724,7 @@ extern struct vop_vector default_vnodeop
 #define VOP_EBADF	((void*)(uintptr_t)vop_ebadf)
 #define VOP_ENOTTY	((void*)(uintptr_t)vop_enotty)
 #define VOP_EINVAL	((void*)(uintptr_t)vop_einval)
+#define VOP_ENOENT	((void*)(uintptr_t)vop_enoent)
 #define VOP_EOPNOTSUPP	((void*)(uintptr_t)vop_eopnotsupp)
 
 /* vfs_hash.c */



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