From c72ccd014de73fd63ea50101bc509fbd889a7dd5 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 23 Oct 2001 01:21:29 +0000 Subject: Change the vnode list under the mount point from a LIST to a TAILQ in preparation for an implementation of limiting code for kern.maxvnodes. MFC after: 3 days --- sys/coda/coda_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/coda/coda_subr.c') diff --git a/sys/coda/coda_subr.c b/sys/coda/coda_subr.c index 21dc937e385a..026d95722bf0 100644 --- a/sys/coda/coda_subr.c +++ b/sys/coda/coda_subr.c @@ -312,10 +312,10 @@ coda_checkunmounting(mp) struct cnode *cp; int count = 0, bad = 0; loop: - for (vp = LIST_FIRST(&mp->mnt_vnodelist); vp; vp = nvp) { + for (vp = TAILQ_FIRST(&mp->mnt_nvnodelist); vp; vp = nvp) { if (vp->v_mount != mp) goto loop; - nvp = LIST_NEXT(vp, v_mntvnodes); + nvp = TAILQ_NEXT(vp, v_nmntvnodes); cp = VTOC(vp); count++; if (!(cp->c_flags & C_UNMOUNTING)) { -- cgit v1.2.3