diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-23 01:21:29 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-23 01:21:29 +0000 |
commit | c72ccd014de73fd63ea50101bc509fbd889a7dd5 (patch) | |
tree | 6c2bc2719e857145710103bb0268efdc6adaad5c /sys/coda/coda_subr.c | |
parent | 2716f76b14f17624d0c9c1343a75c8713bb21f5e (diff) | |
download | src-c72ccd014de73fd63ea50101bc509fbd889a7dd5.tar.gz src-c72ccd014de73fd63ea50101bc509fbd889a7dd5.zip |
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
Notes
Notes:
svn path=/head/; revision=85339
Diffstat (limited to 'sys/coda/coda_subr.c')
-rw-r--r-- | sys/coda/coda_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) { |