summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-26 20:26:33 +0000
committerphk <phk@FreeBSD.org>1997-10-26 20:26:33 +0000
commit07d68f3e52b048de6dd51a856bf9dc0b5b56aabc (patch)
tree6b76a9f83b6acdca9c363665966bf470b0169bd8 /sys/kern/vfs_init.c
parent190f3b183f166a630622a99a807c4194fd1b244c (diff)
downloadFreeBSD-src-07d68f3e52b048de6dd51a856bf9dc0b5b56aabc.zip
FreeBSD-src-07d68f3e52b048de6dd51a856bf9dc0b5b56aabc.tar.gz
Simplify the lease_check stuff.
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index febde5e..1982913 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_init.c 8.3 (Berkeley) 1/4/94
- * $Id: vfs_init.c,v 1.29 1997/10/12 20:24:24 phk Exp $
+ * $Id: vfs_init.c,v 1.30 1997/10/16 10:47:57 phk Exp $
*/
@@ -266,31 +266,3 @@ vfsinit(dummy)
maxvfsconf = maxtypenum;
}
-/*
- * kernel related system variables.
- */
-
-/*
- * This goop is here to support a loadable NFS module... grumble...
- *
- * XXX: NFS could plug this into default_vnodeop_p now!
- */
-int (*lease_check_hook) __P((struct vop_lease_args *))
- = 0;
-void (*lease_updatetime) __P((int))
- = 0;
-
-int
-lease_check(ap)
- struct vop_lease_args /* {
- struct vnode *a_vp;
- struct proc *a_p;
- struct ucred *a_cred;
- int a_flag;
- } */ *ap;
-{
- if (lease_check_hook)
- return (*lease_check_hook)(ap);
- else
- return 0;
-}
OpenPOWER on IntegriCloud