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:
parent
a4fd02efc7
commit
43088e9868
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user