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
This commit is contained in:
Maxime Henrion 2002-07-08 19:10:15 +00:00
parent a4fd02efc7
commit 43088e9868
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99602

View File

@ -1417,9 +1417,10 @@ vfs_mountroot_try(char *mountfrom)
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);
}