diff options
author | Matthew Macy <[email protected]> | 2020-07-25 20:07:44 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-25 20:07:44 -0700 |
commit | 6d8da84106de1fc8480e1758cc88e81393b4c0c2 (patch) | |
tree | 04d232d8f21a8c96978b7d1c329f7d1cc355248c /module/zfs/space_map.c | |
parent | f5b189f9379b092600293ac3e7a670bf2087d88c (diff) |
Make use of ZFS_DEBUG consistent within kmod sources
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #10623
Diffstat (limited to 'module/zfs/space_map.c')
-rw-r--r-- | module/zfs/space_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/space_map.c b/module/zfs/space_map.c index 25da0e63c..723fa0578 100644 --- a/module/zfs/space_map.c +++ b/module/zfs/space_map.c @@ -675,7 +675,7 @@ space_map_write_impl(space_map_t *sm, range_tree_t *rt, maptype_t maptype, space_map_write_intro_debug(sm, maptype, tx); -#ifdef DEBUG +#ifdef ZFS_DEBUG /* * We do this right after we write the intro debug entry * because the estimate does not take it into account. @@ -736,7 +736,7 @@ space_map_write_impl(space_map_t *sm, range_tree_t *rt, maptype_t maptype, dmu_buf_rele(db, FTAG); -#ifdef DEBUG +#ifdef ZFS_DEBUG /* * We expect our estimation to be based on the worst case * scenario [see comment in space_map_estimate_optimal_size()]. |