svn commit: r306775 - head/sys/kern

Bryan Drewery bdrewery at FreeBSD.org
Thu Oct 6 18:10:20 UTC 2016


Author: bdrewery
Date: Thu Oct  6 18:10:19 2016
New Revision: 306775
URL: https://svnweb.freebsd.org/changeset/base/306775

Log:
  vrefl: Assert that the interlock is held.
  
  Sponsored by:	Dell EMC Isilon
  MFC after:	2 weeks

Modified:
  head/sys/kern/vfs_subr.c

Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c	Thu Oct  6 18:09:22 2016	(r306774)
+++ head/sys/kern/vfs_subr.c	Thu Oct  6 18:10:19 2016	(r306775)
@@ -2641,6 +2641,7 @@ void
 vrefl(struct vnode *vp)
 {
 
+	ASSERT_VI_LOCKED(vp, __func__);
 	CTR2(KTR_VFS, "%s: vp %p", __func__, vp);
 	_vhold(vp, true);
 	v_incr_usecount_locked(vp);


More information about the svn-src-all mailing list