svn commit: r353155 - head/sys/ufs/ffs

Mateusz Guzik mjg at FreeBSD.org
Sun Oct 6 22:18:04 UTC 2019


Author: mjg
Date: Sun Oct  6 22:18:03 2019
New Revision: 353155
URL: https://svnweb.freebsd.org/changeset/base/353155

Log:
  ufs: add root vnode caching
  
  See r353150.
  
  Sponsored by:   The FreeBSD Foundation
  Differential Revision:  https://reviews.freebsd.org/D21646

Modified:
  head/sys/ufs/ffs/ffs_vfsops.c

Modified: head/sys/ufs/ffs/ffs_vfsops.c
==============================================================================
--- head/sys/ufs/ffs/ffs_vfsops.c	Sun Oct  6 22:17:29 2019	(r353154)
+++ head/sys/ufs/ffs/ffs_vfsops.c	Sun Oct  6 22:18:03 2019	(r353155)
@@ -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,


More information about the svn-src-all mailing list