diff options
Diffstat (limited to 'sys/miscfs/union/union_vfsops.c')
-rw-r--r-- | sys/miscfs/union/union_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/union/union_vfsops.c b/sys/miscfs/union/union_vfsops.c index 94cba85..dfa6eae 100644 --- a/sys/miscfs/union/union_vfsops.c +++ b/sys/miscfs/union/union_vfsops.c @@ -337,9 +337,9 @@ union_unmount(mp, mntflags, p) int n; /* count #vnodes held on mount list */ - for (n = 0, vp = mp->mnt_vnodelist.lh_first; + for (n = 0, vp = LIST_FIRST(&mp->mnt_vnodelist); vp != NULLVP; - vp = vp->v_mntvnodes.le_next) + vp = LIST_NEXT(vp, v_mntvnodes)) n++; /* if this is unchanged then stop */ |