From 815d08322a00504b1949a51a2b22a120a99ab0e7 Mon Sep 17 00:00:00 2001 From: mux Date: Mon, 8 Jul 2002 19:10:15 +0000 Subject: Add a VFS_START() call in vfs_mountroot_try() for the sake of being correct. None of the root mountable filesystems do something at VFS_START(). Shorten a comment to fix a style bug while I'm here. PR: kern/18505 --- sys/kern/vfs_mount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/kern/vfs_mount.c') diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 1c32aff..f34dc40 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1417,9 +1417,10 @@ done: TAILQ_INSERT_HEAD(&mountlist, mp, mnt_list); mtx_unlock(&mountlist_mtx); - /* sanity check system clock against root filesystem timestamp */ + /* sanity check system clock against root fs timestamp */ inittodr(mp->mnt_time); vfs_unbusy(mp, curthread); + error = VFS_START(mp, 0, curthread); } return(error); } -- cgit v1.1