diff options
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/refcount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/refcount.c b/module/zfs/refcount.c index 6f8f4db08..b33874714 100644 --- a/module/zfs/refcount.c +++ b/module/zfs/refcount.c @@ -26,8 +26,6 @@ #include <sys/zfs_context.h> #include <sys/refcount.h> -#ifdef ZFS_DEBUG - #ifdef _KERNEL int reference_tracking_enable = FALSE; /* runs out of memory too easily */ #else @@ -35,6 +33,7 @@ int reference_tracking_enable = TRUE; #endif int reference_history = 3; /* tunable */ +#ifdef ZFS_DEBUG static kmem_cache_t *reference_cache; static kmem_cache_t *reference_history_cache; |