Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch
This commit is contained in:
commit
c02813baef
|
@ -234,13 +234,8 @@ kmem_cache_t *spa_buffer_pool;
|
||||||
int spa_mode_global;
|
int spa_mode_global;
|
||||||
|
|
||||||
#ifdef ZFS_DEBUG
|
#ifdef ZFS_DEBUG
|
||||||
#if defined(_KERNEL) && defined(HAVE_SPL)
|
|
||||||
/* All filtering done by the SPL */
|
|
||||||
int zfs_flags = ~0;
|
|
||||||
#else
|
|
||||||
/* Everything except dprintf is on by default in debug builds */
|
/* Everything except dprintf is on by default in debug builds */
|
||||||
int zfs_flags = ~ZFS_DEBUG_DPRINTF;
|
int zfs_flags = ~ZFS_DEBUG_DPRINTF;
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
int zfs_flags = 0;
|
int zfs_flags = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue