diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-20 10:00:46 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-20 10:00:46 +0000 |
commit | 0429e37ade0f33fd1159e425bfa5a5d531b3e8a1 (patch) | |
tree | c111db9be70768372eebad9bfc9cbe47bb8a0a9d /sys/gnu/fs | |
parent | c18f2d82a59724bfa2abb6b195eb2c0d281e3261 (diff) | |
download | src-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.c | 2 |
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); |