summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-06-23 02:21:06 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-06-23 02:21:06 +0000
commitc85f16e9ba63e16bb4414c9c60361f49b116bd85 (patch)
tree1ca2580f0a09066c390354179e0c577ee488c651 /sys
parent0d0bb60489a587654939a483986aa833252268f3 (diff)
Get rid of UFS-specific and unused functions in the VFS interface
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vnode_if.src88
1 files changed, 1 insertions, 87 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index 5a98a21d5a6..91de785496f 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -1,4 +1,4 @@
-# $OpenBSD: vnode_if.src,v 1.10 2001/03/01 20:54:34 provos Exp $
+# $OpenBSD: vnode_if.src,v 1.11 2001/06/23 02:21:05 csapuntz Exp $
# $NetBSD: vnode_if.src,v 1.10 1996/05/11 18:26:27 mycroft Exp $
#
# Copyright (c) 1992, 1993
@@ -243,16 +243,6 @@ vop_revoke {
};
#
-# XXX - not used
-#
-vop_mmap {
- IN struct vnode *vp;
- IN int fflags;
- IN struct ucred *cred;
- IN struct proc *p;
-};
-
-#
#% fsync vp L L L
#
vop_fsync {
@@ -263,17 +253,6 @@ vop_fsync {
};
#
-# XXX - not used
-# Needs work: Is newoff right? What's it mean?
-#
-vop_seek {
- IN struct vnode *vp;
- IN off_t oldoff;
- IN off_t newoff;
- IN struct ucred *cred;
-};
-
-#
#% remove dvp L U U
#% remove vp L U U
#
@@ -465,38 +444,6 @@ vop_advlock {
};
#
-#% blkatoff vp L L L
-#
-vop_blkatoff {
- IN SHOULDBELOCKED struct vnode *vp;
- IN off_t offset;
- OUT char **res;
- OUT struct buf **bpp;
-};
-
-#
-#% valloc pvp L L L
-#
-vop_valloc {
- IN SHOULDBELOCKED struct vnode *pvp;
- IN int mode;
- IN struct ucred *cred;
- OUT struct vnode **vpp;
-};
-
-#
-#% balloc vp L L L
-#
-vop_balloc {
- IN SHOULDBELOCKED struct vnode *vp;
- IN off_t startoffset;
- IN int size;
- IN struct ucred *cred;
- IN int flags;
- OUT struct buf **bpp;
-};
-
-#
#% reallocblks vp L L L
#
vop_reallocblks {
@@ -505,39 +452,6 @@ vop_reallocblks {
};
#
-#% vfree pvp L L L
-#
-
-vop_vfree {
- IN SHOULDBELOCKED struct vnode *pvp;
- IN ino_t ino;
- IN int mode;
-};
-
-#
-#% truncate vp L L L
-#
-
-vop_truncate {
- IN SHOULDBELOCKED struct vnode *vp;
- IN off_t length;
- IN int flags;
- IN struct ucred *cred;
- IN struct proc *p;
-};
-
-#
-#% update vp L L L
-#
-
-vop_update {
- IN SHOULDBELOCKED struct vnode *vp;
- IN struct timespec *access;
- IN struct timespec *modify;
- IN int waitfor;
-};
-
-#
#% whiteout dvp L L L
#% whiteout cnp - - -
#% whiteout flag - - -