--- sys/kern/vfs_mountroot.c (working copy) +++ sys/kern/vfs_mountroot.c (working copy) @@ -179,7 +179,7 @@ mtx_unlock(&root_holds_mtx); } -static void +void set_rootvnode(void) { struct proc *p; --- sys/sys/mount.h (working copy) +++ sys/sys/mount.h (working copy) @@ -836,6 +836,7 @@ struct mntarg *mount_argb(struct mntarg *ma, int flag, const char *name); struct mntarg *mount_argf(struct mntarg *ma, const char *name, const char *fmt, ...); struct mntarg *mount_argsu(struct mntarg *ma, const char *name, const void *val, int len); +void set_rootvnode(void); void statfs_scale_blocks(struct statfs *sf, long max_size); struct vfsconf *vfs_byname(const char *); struct vfsconf *vfs_byname_kld(const char *, struct thread *td, int *);