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/zfs_ioctl.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/zfs_ioctl.c')
-rw-r--r-- | module/zfs/zfs_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index 1d2ae6270..672eec9cc 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -4806,7 +4806,7 @@ zfs_allow_log_destroy(void *arg) kmem_strfree(poolname); } -#ifdef DEBUG +#ifdef ZFS_DEBUG static boolean_t zfs_ioc_recv_inject_err; #endif @@ -5019,7 +5019,7 @@ zfs_ioc_recv_impl(char *tofs, char *tosnap, char *origin, nvlist_t *recvprops, } *read_bytes = off - noff; -#ifdef DEBUG +#ifdef ZFS_DEBUG if (zfs_ioc_recv_inject_err) { zfs_ioc_recv_inject_err = B_FALSE; error = 1; |