]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/os/freebsd/zfs/zfs_znode.c
Make use of ZFS_DEBUG consistent within kmod sources
[mirror_zfs.git] / module / os / freebsd / zfs / zfs_znode.c
index e2f941415bea22b58efb1b7b74b0b2cbd14a09a9..badf159ca110c59e8b7dfe1e71e8db9b3dc4a38a 100644 (file)
@@ -76,7 +76,7 @@ SYSCTL_INT(_debug_sizeof, OID_AUTO, znode, CTLFLAG_RD,
  * Define ZNODE_STATS to turn on statistic gathering. By default, it is only
  * turned on when DEBUG is also defined.
  */
-#ifdef DEBUG
+#ifdef ZFS_DEBUG
 #define        ZNODE_STATS
 #endif /* DEBUG */
 
@@ -1731,7 +1731,7 @@ zfs_grab_sa_handle(objset_t *osp, uint64_t obj, sa_handle_t **hdlp,
        return (0);
 }
 
-void
+static void
 zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, void *tag)
 {
        sa_handle_destroy(hdl);