svn commit: r243702 - stable/9/sys/kern

David Xu davidxu at FreeBSD.org
Fri Nov 30 05:30:32 UTC 2012


Author: davidxu
Date: Fri Nov 30 05:30:31 2012
New Revision: 243702
URL: http://svnweb.freebsd.org/changeset/base/243702

Log:
  MFC r243599:
  Take first active vnode correctly.

Modified:
  stable/9/sys/kern/vfs_subr.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/vfs_subr.c
==============================================================================
--- stable/9/sys/kern/vfs_subr.c	Fri Nov 30 04:56:39 2012	(r243701)
+++ stable/9/sys/kern/vfs_subr.c	Fri Nov 30 05:30:31 2012	(r243702)
@@ -4776,7 +4776,7 @@ __mnt_vnode_first_active(struct vnode **
 	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 &&


More information about the svn-src-stable mailing list