summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-07-07 06:58:29 +0000
committeralfred <alfred@FreeBSD.org>2004-07-07 06:58:29 +0000
commitedeee1cf4ee24af8e1f7d7b6237bd716160914d2 (patch)
tree7998aba453b8e85f5c1ff786e4a53fc75bb833cc /sys/kern/vfs_init.c
parentabbc5d3d40f2549cde85d17ba4991fcb802f9635 (diff)
downloadFreeBSD-src-edeee1cf4ee24af8e1f7d7b6237bd716160914d2.zip
FreeBSD-src-edeee1cf4ee24af8e1f7d7b6237bd716160914d2.tar.gz
do the vfsstd thing instead of messing up our VFS_SYSCTL macro.
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 b67ece7..871404c 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...
OpenPOWER on IntegriCloud