diff options
author | bde <bde@FreeBSD.org> | 1998-09-05 17:13:28 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-09-05 17:13:28 +0000 |
commit | 0f44756d5a672d17ddbf8721ef8f2cfac33b6d2b (patch) | |
tree | 427bedc13e38e7f9a40f6cdc2c2e402ac5699074 /sys/nfs/nfs_vfsops.c | |
parent | a1a2d181d261fb526c5be7ec00574bf9ef2e71ca (diff) | |
download | FreeBSD-src-0f44756d5a672d17ddbf8721ef8f2cfac33b6d2b.zip FreeBSD-src-0f44756d5a672d17ddbf8721ef8f2cfac33b6d2b.tar.gz |
Ignore the statically configured vfs type numbers and assign vfs
type numbers in vfs attach order (modulo incomplete reuse of old
numbers after vfs LKMs are unloaded). This requires reinitializing
the sysctl tree (or at least the vfs subtree) for vfs's that support
sysctls (currently only nfs). sysctl_order() already handled
reinitialization reasonably except it checked for annulled self
references in the wrong place.
Fixed sysctls for vfs LKMs.
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index c592017..ae40bc9 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95 - * $Id: nfs_vfsops.c,v 1.72 1998/06/07 17:12:30 dfr Exp $ + * $Id: nfs_vfsops.c,v 1.73 1998/08/12 20:17:42 bde Exp $ */ #include <sys/param.h> @@ -131,7 +131,9 @@ static struct vfsops nfs_vfsops = { nfs_vget, nfs_fhtovp, nfs_vptofh, - nfs_init + nfs_init, + 0, + &sysctl___vfs_nfs }; VFS_SET(nfs_vfsops, nfs, MOUNT_NFS, VFCF_NETWORK); |