diff options
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 43422a9..3fe1e18 100644 --- a/sys/coda/coda_subr.c +++ b/sys/coda/coda_subr.c @@ -311,10 +311,10 @@ coda_checkunmounting(mp) struct cnode *cp; int count = 0, bad = 0; loop: - for (vp = mp->mnt_vnodelist.lh_first; vp; vp = nvp) { + for (vp = LIST_FIRST(&mp->mnt_vnodelist); vp; vp = nvp) { if (vp->v_mount != mp) goto loop; - nvp = vp->v_mntvnodes.le_next; + nvp = LIST_NEXT(vp, v_mntvnodes); cp = VTOC(vp); count++; if (!(cp->c_flags & C_UNMOUNTING)) { |