diff options
author | bde <bde@FreeBSD.org> | 1998-09-07 05:42:15 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-09-07 05:42:15 +0000 |
commit | 3adc4cd6e25dab239f15b3fe6de3b46000bb7a2d (patch) | |
tree | 792b71dd47c3a85736091def5feff20986cd9d79 /sys/nfsserver/nfs.h | |
parent | 73bcd2203955610546f0962d9d9cc627eb7b0d91 (diff) | |
download | FreeBSD-src-3adc4cd6e25dab239f15b3fe6de3b46000bb7a2d.zip FreeBSD-src-3adc4cd6e25dab239f15b3fe6de3b46000bb7a2d.tar.gz |
Made unloading of the nfs LKM sort of work. This is mainly to test
detachment of vfs sysctls. Unloading of vfs LKMs doesn't actually
work for any vfs, since it leaves garbage pointers to memory
allocation control structures.
Diffstat (limited to 'sys/nfsserver/nfs.h')
-rw-r--r-- | sys/nfsserver/nfs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs.h b/sys/nfsserver/nfs.h index 885a2c1..0ed90c0 100644 --- a/sys/nfsserver/nfs.h +++ b/sys/nfsserver/nfs.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs.h 8.4 (Berkeley) 5/1/95 - * $Id: nfs.h,v 1.42 1998/06/30 11:19:22 jmg Exp $ + * $Id: nfs.h,v 1.43 1998/08/23 03:07:16 wollman Exp $ */ #ifndef _NFS_NFS_H_ @@ -314,6 +314,8 @@ MALLOC_DECLARE(M_NFSHASH); extern vm_zone_t nfsmount_zone; #endif +extern struct callout_handle nfs_timer_handle; + struct uio; struct buf; struct vattr; struct nameidata; /* XXX */ /* @@ -584,6 +586,7 @@ extern int nfs_debug; u_quad_t nfs_curusec __P((void)); int nfs_init __P((struct vfsconf *vfsp)); +int nfs_uninit __P((struct vfsconf *vfsp)); int nfs_reply __P((struct nfsreq *)); int nfs_getreq __P((struct nfsrv_descript *,struct nfsd *,int)); int nfs_send __P((struct socket *, struct sockaddr *, struct mbuf *, |