summaryrefslogtreecommitdiffstats
path: root/sys/ufs/lfs/lfs_vfsops.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1997-10-16 08:16:34 +0000
committerjulian <julian@FreeBSD.org>1997-10-16 08:16:34 +0000
commita901089b08a8ed129eee06f267ccba5fa18c18a9 (patch)
tree13a04875006b1201f283ed318450a7592fa282e9 /sys/ufs/lfs/lfs_vfsops.c
parent99780c8a1bb877bf76fa077a1a5313304c99ea61 (diff)
downloadFreeBSD-src-a901089b08a8ed129eee06f267ccba5fa18c18a9.zip
FreeBSD-src-a901089b08a8ed129eee06f267ccba5fa18c18a9.tar.gz
Two more places where root filesystems were mounted, put them at the head of
the mount list in case there is already DEVFS present.
Diffstat (limited to 'sys/ufs/lfs/lfs_vfsops.c')
-rw-r--r--sys/ufs/lfs/lfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/lfs/lfs_vfsops.c b/sys/ufs/lfs/lfs_vfsops.c
index 1f17133..aa54c28 100644
--- a/sys/ufs/lfs/lfs_vfsops.c
+++ b/sys/ufs/lfs/lfs_vfsops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)lfs_vfsops.c 8.20 (Berkeley) 6/10/95
- * $Id: lfs_vfsops.c,v 1.23 1997/10/10 18:17:21 phk Exp $
+ * $Id: lfs_vfsops.c,v 1.24 1997/10/12 20:26:17 phk Exp $
*/
#include "opt_quota.h"
@@ -115,7 +115,7 @@ lfs_mountroot()
return (error);
}
simple_lock(&mountlist_slock);
- CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list);
+ CIRCLEQ_INSERT_HEAD(&mountlist, mp, mnt_list);
simple_unlock(&mountlist_slock);
(void)lfs_statfs(mp, &mp->mnt_stat, p);
vfs_unbusy(mp, p);
OpenPOWER on IntegriCloud