svn commit: r353153 - head/sys/fs/tmpfs
Mateusz Guzik
mjg at FreeBSD.org
Sun Oct 6 22:17:11 UTC 2019
Author: mjg
Date: Sun Oct 6 22:17:11 2019
New Revision: 353153
URL: https://svnweb.freebsd.org/changeset/base/353153
Log:
tmpfs: add root vnode caching
See r353150.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21646
Modified:
head/sys/fs/tmpfs/tmpfs_vfsops.c
Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_vfsops.c Sun Oct 6 22:16:55 2019 (r353152)
+++ head/sys/fs/tmpfs/tmpfs_vfsops.c Sun Oct 6 22:17:11 2019 (r353153)
@@ -710,7 +710,8 @@ tmpfs_susp_clean(struct mount *mp __unused)
struct vfsops tmpfs_vfsops = {
.vfs_mount = tmpfs_mount,
.vfs_unmount = tmpfs_unmount,
- .vfs_root = tmpfs_root,
+ .vfs_root = vfs_cache_root,
+ .vfs_cachedroot = tmpfs_root,
.vfs_statfs = tmpfs_statfs,
.vfs_fhtovp = tmpfs_fhtovp,
.vfs_sync = tmpfs_sync,
More information about the svn-src-all
mailing list