summaryrefslogtreecommitdiffstats
path: root/include/sys/zap_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/zap_impl.h')
-rw-r--r--include/sys/zap_impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sys/zap_impl.h b/include/sys/zap_impl.h
index 528402f79..bfd43e31d 100644
--- a/include/sys/zap_impl.h
+++ b/include/sys/zap_impl.h
@@ -42,8 +42,7 @@ extern int fzap_default_block_shift;
#define MZAP_ENT_LEN 64
#define MZAP_NAME_LEN (MZAP_ENT_LEN - 8 - 4 - 2)
-#define MZAP_MAX_BLKSHIFT SPA_MAXBLOCKSHIFT
-#define MZAP_MAX_BLKSZ (1 << MZAP_MAX_BLKSHIFT)
+#define MZAP_MAX_BLKSZ SPA_OLD_MAXBLOCKSIZE
#define ZAP_NEED_CD (-1U)