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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to