aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-20 10:00:46 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-20 10:00:46 +0000
commit0429e37ade0f33fd1159e425bfa5a5d531b3e8a1 (patch)
treec111db9be70768372eebad9bfc9cbe47bb8a0a9d /sys/gnu/fs
parentc18f2d82a59724bfa2abb6b195eb2c0d281e3261 (diff)
downloadsrc-0429e37ade0f33fd1159e425bfa5a5d531b3e8a1.tar.gz
src-0429e37ade0f33fd1159e425bfa5a5d531b3e8a1.zip
struct mountlist and struct mount.mnt_list have no business being
a CIRCLEQ. Change them to TAILQ_HEAD and TAILQ_ENTRY respectively. This removes ugly mp != (void*)&mountlist comparisons. Requested by: phk Submitted by: Jake Burkholder jake@checker.org PR: 14967
Notes
Notes: svn path=/head/; revision=53452
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 daa7e05605d6..30b5d45bb653 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -144,7 +144,7 @@ ext2_mountroot()
bsd_free(mp, M_MOUNT);
return (error);
}
- CIRCLEQ_INSERT_HEAD(&mountlist, mp, mnt_list);
+ TAILQ_INSERT_HEAD(&mountlist, mp, mnt_list);
mp->mnt_flag |= MNT_ROOTFS;
mp->mnt_vnodecovered = NULLVP;
ump = VFSTOUFS(mp);