aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/freebsd/zfs/zfs_dir.c
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2020-07-25 20:07:44 -0700
committerGitHub <[email protected]>2020-07-25 20:07:44 -0700
commit6d8da84106de1fc8480e1758cc88e81393b4c0c2 (patch)
tree04d232d8f21a8c96978b7d1c329f7d1cc355248c /module/os/freebsd/zfs/zfs_dir.c
parentf5b189f9379b092600293ac3e7a670bf2087d88c (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/os/freebsd/zfs/zfs_dir.c')
-rw-r--r--module/os/freebsd/zfs/zfs_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/freebsd/zfs/zfs_dir.c b/module/os/freebsd/zfs/zfs_dir.c
index 2c32602b1..5aa4cd525 100644
--- a/module/os/freebsd/zfs/zfs_dir.c
+++ b/module/os/freebsd/zfs/zfs_dir.c
@@ -839,7 +839,7 @@ zfs_make_xattrdir(znode_t *zp, vattr_t *vap, znode_t **xvpp, cred_t *cr)
if (fuid_dirtied)
zfs_fuid_sync(zfsvfs, tx);
-#ifdef DEBUG
+#ifdef ZFS_DEBUG
error = sa_lookup(xzp->z_sa_hdl, SA_ZPL_PARENT(zfsvfs),
&parent, sizeof (parent));
ASSERT(error == 0 && parent == zp->z_id);