summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs
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/gnu/fs
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/gnu/fs')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index 39554f8..9338279 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -166,7 +166,7 @@ ext2_mountroot()
return (error);
}
#if defined(__FreeBSD__)
- CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list);
+ CIRCLEQ_INSERT_HEAD(&mountlist, mp, mnt_list);
#else
TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list);
#endif
OpenPOWER on IntegriCloud