Don't unbusy the devfs mount in vfs_mountroot_try() as it gets accessed

and unbusied in devfs_fixup(), which assumes that the devfs mount is
still locked.

Granced at by:	phk
MFC after:	3 days
This commit is contained in:
Suleiman Souhlal 2005-09-02 13:37:54 +00:00
parent 9f47768c42
commit 2611e5a6a9

View File

@ -1309,7 +1309,6 @@ vfs_mountroot_try(const char *mountfrom)
*/
mp = TAILQ_FIRST(&mountlist);
KASSERT(mp != NULL, ("%s: mountlist is empty", __func__));
vfs_unbusy(mp, curthread);
/*
* Iterate over all currently mounted file systems and use