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/dnode_sync.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/dnode_sync.c')
-rw-r--r-- | module/zfs/dnode_sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/dnode_sync.c b/module/zfs/dnode_sync.c index 4178d6f07..eafea3403 100644 --- a/module/zfs/dnode_sync.c +++ b/module/zfs/dnode_sync.c @@ -91,7 +91,7 @@ dnode_increase_indirection(dnode_t *dn, dmu_tx_t *tx) if (child == NULL) continue; -#ifdef DEBUG +#ifdef ZFS_DEBUG DB_DNODE_ENTER(child); ASSERT3P(DB_DNODE(child), ==, dn); DB_DNODE_EXIT(child); @@ -462,7 +462,7 @@ dnode_evict_dbufs(dnode_t *dn) mutex_enter(&dn->dn_dbufs_mtx); for (db = avl_first(&dn->dn_dbufs); db != NULL; db = db_next) { -#ifdef DEBUG +#ifdef ZFS_DEBUG DB_DNODE_ENTER(db); ASSERT3P(DB_DNODE(db), ==, dn); DB_DNODE_EXIT(db); |