diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 39554f80db98..9338279dcfbb 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/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 diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 39554f80db98..9338279dcfbb 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 diff --git a/sys/ufs/lfs/lfs_vfsops.c b/sys/ufs/lfs/lfs_vfsops.c index 1f1713383d99..aa54c28b0246 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);