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/nfsclient/nfs_vfsops.c | |
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/nfsclient/nfs_vfsops.c')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index ae40bc9..2f76a38 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95 - * $Id: nfs_vfsops.c,v 1.73 1998/08/12 20:17:42 bde Exp $ + * $Id: nfs_vfsops.c,v 1.74 1998/09/05 17:13:28 bde Exp $ */ #include <sys/param.h> @@ -132,7 +132,7 @@ static struct vfsops nfs_vfsops = { nfs_fhtovp, nfs_vptofh, nfs_init, - 0, + nfs_uninit, &sysctl___vfs_nfs }; VFS_SET(nfs_vfsops, nfs, MOUNT_NFS, VFCF_NETWORK); |