Date: Thu, 8 Jul 2010 20:17:56 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r209823 - stable/8/sys/sys Message-ID: <201007082017.o68KHuLa015197@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Thu Jul 8 20:17:56 2010 New Revision: 209823 URL: http://svn.freebsd.org/changeset/base/209823 Log: MFC r209056: vnode.h: expand debug macros to non-empty void statements when DEBUG_VFS_LOCKS is disabled Modified: stable/8/sys/sys/vnode.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/sys/vnode.h ============================================================================== --- stable/8/sys/sys/vnode.h Thu Jul 8 19:40:09 2010 (r209822) +++ stable/8/sys/sys/vnode.h Thu Jul 8 20:17:56 2010 (r209823) @@ -524,17 +524,17 @@ void assert_vop_unlocked(struct vnode *v #else /* !DEBUG_VFS_LOCKS */ -#define ASSERT_VI_LOCKED(vp, str) -#define ASSERT_VI_UNLOCKED(vp, str) -#define ASSERT_VOP_ELOCKED(vp, str) +#define ASSERT_VI_LOCKED(vp, str) ((void)0) +#define ASSERT_VI_UNLOCKED(vp, str) ((void)0) +#define ASSERT_VOP_ELOCKED(vp, str) ((void)0) #if 0 #define ASSERT_VOP_ELOCKED_OTHER(vp, str) #endif -#define ASSERT_VOP_LOCKED(vp, str) +#define ASSERT_VOP_LOCKED(vp, str) ((void)0) #if 0 #define ASSERT_VOP_SLOCKED(vp, str) #endif -#define ASSERT_VOP_UNLOCKED(vp, str) +#define ASSERT_VOP_UNLOCKED(vp, str) ((void)0) #endif /* DEBUG_VFS_LOCKS */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007082017.o68KHuLa015197>