summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-01-13 07:53:01 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-01-13 07:53:01 +0000
commit63f89abf4a49d64f983e3fed54e99633f0c70d57 (patch)
treee7e985f51392cbb38e54bd0ff0579b79648afa2c /sys/kern/vfs_init.c
parentd1426d7fc5538c2aa8b9f3abce557b27469a56c3 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index e4c4f40f5aa8..61d26755574c 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -89,32 +89,6 @@ struct vattr va_null;
* Routines having to do with the management of the vnode table.
*/
-/*
- * XXX: hack alert
- */
-int
-vcall(struct vnode *vp, u_int off, void *ap)
-{
- struct vop_vector *vop = vp->v_op;
- vop_bypass_t **bpt;
- int rc;
-
- for(;;) {
- bpt = (void *)((u_char *)vop + off);
- if (vop != NULL && *bpt == NULL && vop->vop_bypass == NULL) {
- vop = vop->vop_default;
- continue;
- }
- break;
- }
- KASSERT(vop != NULL, ("No VCALL(%p...)", vp));
- if (*bpt != NULL)
- rc = (*bpt)(ap);
- else
- rc = vop->vop_bypass(ap);
- return (rc);
-}
-
struct vfsconf *
vfs_byname(const char *name)
{