From 4199ed409842d4ebf900bb15a6e84dfde6684a7b Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Thu, 16 Oct 1997 07:32:14 +0000 Subject: [PATCH] We are mounting the root. mount it at the HEAD of the queue, DEVFS might already be there.. --- sys/kern/vfs_conf.c | 4 ++-- sys/kern/vfs_mount.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index faa7363e796d..0e65cab1cfc7 100644 --- a/sys/kern/vfs_conf.c +++ b/sys/kern/vfs_conf.c @@ -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); diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index faa7363e796d..0e65cab1cfc7 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -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);