We are mounting the root.

mount it at the HEAD of the queue, DEVFS might already be there..
This commit is contained in:
Julian Elischer 1997-10-16 07:32:14 +00:00
parent 57bac26ee9
commit 4199ed4098
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_conf.c 8.8 (Berkeley) 3/31/94
* $Id: vfs_conf.c,v 1.14 1997/02/22 09:39:32 peter Exp $
* $Id: vfs_conf.c,v 1.15 1997/10/12 20:24:23 phk Exp $
*/
/*
@ -130,7 +130,7 @@ vfs_mountrootfs(fsname)
simple_lock(&mountlist_slock);
/* Add fs to list of mounted file systems*/
CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list);
CIRCLEQ_INSERT_HEAD(&mountlist, mp, mnt_list);
simple_unlock(&mountlist_slock);
vfs_unbusy(mp, p);

View File

@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_conf.c 8.8 (Berkeley) 3/31/94
* $Id: vfs_conf.c,v 1.14 1997/02/22 09:39:32 peter Exp $
* $Id: vfs_conf.c,v 1.15 1997/10/12 20:24:23 phk Exp $
*/
/*
@ -130,7 +130,7 @@ vfs_mountrootfs(fsname)
simple_lock(&mountlist_slock);
/* Add fs to list of mounted file systems*/
CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list);
CIRCLEQ_INSERT_HEAD(&mountlist, mp, mnt_list);
simple_unlock(&mountlist_slock);
vfs_unbusy(mp, p);