diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-02-18 04:58:11 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-02-18 04:58:11 +0000 |
| commit | 25ed2ac22308ac3cf99f84c49f484e67f1967555 (patch) | |
| tree | 3ae8c246948783a3d433682842ba7776fcc1ae91 /sys | |
| parent | bd6d39b94121f5a3938d59c1248e2e7347d9b71c (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/vfs_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 161ff0c0d7d3..790fb5195abf 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -296,7 +296,7 @@ sysctl_vfs_conf SYSCTL_HANDLER_ARGS SYSCTL_PROC(_vfs, VFS_VFSCONF, vfsconf, CTLTYPE_OPAQUE|CTLFLAG_RD, 0, 0, sysctl_vfs_conf, "S,vfsconf", ""); -#ifdef COMPAT_PRELITE2 +#ifndef NO_COMPAT_PRELITE2 #define OVFS_MAXNAMELEN 32 struct ovfsconf { @@ -317,7 +317,7 @@ sysctl_ovfs_conf SYSCTL_HANDLER_ARGS return EINVAL; for (vfsp = vfsconf; vfsp; vfsp = vfsp->vfc_next) { struct ovfsconf ovfs; - ovfs.vfc_vfsops = NULL; + ovfs.vfc_vfsops = vfsp->vfc_vfsops; /* XXX used as flag */ strcpy(ovfs.vfc_name, vfsp->vfc_name); ovfs.vfc_index = vfsp->vfc_typenum; ovfs.vfc_refcount = vfsp->vfc_refcount; @@ -332,7 +332,7 @@ sysctl_ovfs_conf SYSCTL_HANDLER_ARGS SYSCTL_PROC(_vfs, VFS_OVFSCONF, ovfsconf, CTLTYPE_OPAQUE|CTLFLAG_RD, 0, 0, sysctl_ovfs_conf, "S,ovfsconf", ""); -#endif /* COMPAT_PRELITE2 */ +#endif /* !NO_COMPAT_PRELITE2 */ /* * This goop is here to support a loadable NFS module... grumble... |
