svn commit: r185957 - head/sys/sys
Joe Marcus Clarke
marcus at FreeBSD.org
Thu Dec 11 16:58:52 PST 2008
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 */
More information about the svn-src-head
mailing list