summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 1c3c332..c2f5f93 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -4755,7 +4755,7 @@ __mnt_vnode_first_active(struct vnode **mvp, struct mount *mp)
MNT_REF(mp);
(*mvp)->v_type = VMARKER;
- vp = TAILQ_NEXT(*mvp, v_actfreelist);
+ vp = TAILQ_FIRST(&mp->mnt_activevnodelist);
while (vp != NULL) {
VI_LOCK(vp);
if (vp->v_mount == mp && vp->v_type != VMARKER &&
OpenPOWER on IntegriCloud