From 1adcecffd93c2f4536a5031426a753b1218ed88a Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 20 Nov 1999 10:00:46 +0000 Subject: 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 --- sys/miscfs/devfs/devfs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/miscfs/devfs/devfs_vfsops.c') diff --git a/sys/miscfs/devfs/devfs_vfsops.c b/sys/miscfs/devfs/devfs_vfsops.c index 264f049..287ca99 100644 --- a/sys/miscfs/devfs/devfs_vfsops.c +++ b/sys/miscfs/devfs/devfs_vfsops.c @@ -67,7 +67,7 @@ devfs_init(struct vfsconf *vfsp) /* Mark a reference for the "invisible" blueprint mount */ mp->mnt_vfc->vfc_refcount++; - CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list); + TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list); printf("DEVFS: ready to run\n"); return 0; /*XXX*/ -- cgit v1.1