summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/unionfs/union_vfsops.c')
-rw-r--r--sys/fs/unionfs/union_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c
index 53c5ae6..7f3d5bd 100644
--- a/sys/fs/unionfs/union_vfsops.c
+++ b/sys/fs/unionfs/union_vfsops.c
@@ -333,7 +333,7 @@ union_unmount(mp, mntflags, td)
/* count #vnodes held on mount list */
mtx_lock(&mntvnode_mtx);
n = 0;
- LIST_FOREACH(vp, &mp->mnt_vnodelist, v_mntvnodes)
+ TAILQ_FOREACH(vp, &mp->mnt_nvnodelist, v_nmntvnodes)
n++;
mtx_unlock(&mntvnode_mtx);
OpenPOWER on IntegriCloud