Date: Thu, 6 Oct 2016 18:10:19 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306775 - head/sys/kern Message-ID: <201610061810.u96IAJCW003640@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610061810.u96IAJCW003640>