ufs: add root vnode caching

See r353150.

Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D21646
This commit is contained in:
mjg 2019-10-06 22:18:03 +00:00
parent c1e9afaee7
commit 890710f9ba

View File

@ -109,7 +109,8 @@ static struct vfsops ufs_vfsops = {
.vfs_mount = ffs_mount,
.vfs_cmount = ffs_cmount,
.vfs_quotactl = ufs_quotactl,
.vfs_root = ufs_root,
.vfs_root = vfs_cache_root,
.vfs_cachedroot = ufs_root,
.vfs_statfs = ffs_statfs,
.vfs_sync = ffs_sync,
.vfs_uninit = ffs_uninit,