summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-12-11 23:07:14 +0000
committermarcel <marcel@FreeBSD.org>2004-12-11 23:07:14 +0000
commitfb456e7011ac6bfe4ce3b6c59fcf01249bfb6dcc (patch)
treee19a4f25590b3d7a95f5f8eae179c3aa185c19f3 /sys
parente951047e5fc0d305dc86bfac925b89b31473a489 (diff)
downloadFreeBSD-src-fb456e7011ac6bfe4ce3b6c59fcf01249bfb6dcc.zip
FreeBSD-src-fb456e7011ac6bfe4ce3b6c59fcf01249bfb6dcc.tar.gz
Revert rev 1.259. The null-pointer function call (a dereference on
ia64) was not the result of a change in the vector operations. It was caused by the NFS locking code using a FIFO and those bypassing the vnode. This indirectly caused the panic. The NFS locking code has been changed. Requested by: phk
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index ff2a8a0..55adee7 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -696,45 +696,6 @@ extern struct vop_vector default_vnodeops;
#define VOP_EINVAL ((void*)(uintptr_t)vop_einval)
#define VOP_EOPNOTSUPP ((void*)(uintptr_t)vop_eopnotsupp)
-struct vop_close_args;
-static __inline int
-vop_close(struct vop_vector *vp, struct vop_close_args *ap)
-{
-
- while (vp != NULL && vp->vop_close == NULL)
- vp = vp->vop_default;
- return ((vp != NULL) ? vp->vop_close(ap) : EOPNOTSUPP);
-}
-
-struct vop_kqfilter_args;
-static __inline int
-vop_kqfilter(struct vop_vector *vp, struct vop_kqfilter_args *ap)
-{
-
- while (vp != NULL && vp->vop_kqfilter == NULL)
- vp = vp->vop_default;
- return ((vp != NULL) ? vp->vop_kqfilter(ap) : EOPNOTSUPP);
-}
-
-struct vop_read_args;
-static __inline int
-vop_read(struct vop_vector *vp, struct vop_read_args *ap)
-{
-
- while (vp != NULL && vp->vop_read == NULL)
- vp = vp->vop_default;
- return ((vp != NULL) ? vp->vop_read(ap) : EOPNOTSUPP);
-}
-
-struct vop_write_args;
-static __inline int
-vop_write(struct vop_vector *vp, struct vop_write_args *ap)
-{
-
- while (vp != NULL && vp->vop_write == NULL)
- vp = vp->vop_default;
- return ((vp != NULL) ? vp->vop_write(ap) : EOPNOTSUPP);
-}
#endif /* _KERNEL */
OpenPOWER on IntegriCloud