aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-07-07 06:58:29 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-07-07 06:58:29 +0000
commit81d16e2d64d5d34bbc8497ca805a366ee4b27ddb (patch)
tree7998aba453b8e85f5c1ff786e4a53fc75bb833cc /sys/kern/vfs_init.c
parent6242f82d0782a1c0f19d4d0d248fb65464a75e4b (diff)
downloadsrc-81d16e2d64d5d34bbc8497ca805a366ee4b27ddb.tar.gz
src-81d16e2d64d5d34bbc8497ca805a366ee4b27ddb.zip
do the vfsstd thing instead of messing up our VFS_SYSCTL macro.
Notes
Notes: svn path=/head/; revision=131733
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index b67ece7ffe11..871404c141ff 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -458,6 +458,8 @@ vfs_register(struct vfsconf *vfc)
if (vfsops->vfs_extattrctl == NULL)
/* extended attribute control */
vfsops->vfs_extattrctl = vfs_stdextattrctl;
+ if (vfsops->vfs_sysctl == NULL)
+ vfsops->vfs_sysctl = vfs_stdsysctl;
/*
* Call init function for this VFS...