svn commit: r241268 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

Andriy Gapon avg at FreeBSD.org
Sat Oct 6 18:55:32 UTC 2012


Author: avg
Date: Sat Oct  6 18:55:32 2012
New Revision: 241268
URL: http://svn.freebsd.org/changeset/base/241268

Log:
  MFC r240631: zfs: allow both DEBUG and ZFS_DEBUG to be defined on
  command line

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h	Sat Oct  6 18:54:01 2012	(r241267)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h	Sat Oct  6 18:55:32 2012	(r241268)
@@ -42,8 +42,10 @@ extern "C" {
  */
 
 #if defined(DEBUG) || !defined(_KERNEL)
+#if !defined(ZFS_DEBUG)
 #define	ZFS_DEBUG
 #endif
+#endif
 
 extern int zfs_flags;
 


More information about the svn-src-stable-9 mailing list