[Midnightbsd-cvs] src [8172] trunk/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h: zfs allow both debug and zfs debug to be defined on command line

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Sep 16 22:39:24 EDT 2016


Revision: 8172
          http://svnweb.midnightbsd.org/src/?rev=8172
Author:   laffer1
Date:     2016-09-16 22:39:24 -0400 (Fri, 16 Sep 2016)
Log Message:
-----------
zfs allow both debug and zfs debug to be defined on command line

Modified Paths:
--------------
    trunk/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h

Modified: trunk/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h
===================================================================
--- trunk/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h	2016-09-17 02:38:54 UTC (rev 8171)
+++ trunk/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h	2016-09-17 02:39:24 UTC (rev 8172)
@@ -42,8 +42,10 @@
  */
 
 #if defined(DEBUG) || !defined(_KERNEL)
+#if !defined(ZFS_DEBUG)
 #define	ZFS_DEBUG
 #endif
+#endif
 
 extern int zfs_flags;
 



More information about the Midnightbsd-cvs mailing list