aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/sa_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/sa_impl.h')
-rw-r--r--include/sys/sa_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/sa_impl.h b/include/sys/sa_impl.h
index 6f2f1db6d..b68b7610b 100644
--- a/include/sys/sa_impl.h
+++ b/include/sys/sa_impl.h
@@ -235,7 +235,7 @@ struct sa_handle {
#define SA_BONUSTYPE_FROM_DB(db) \
(dmu_get_bonustype((dmu_buf_t *)db))
-#define SA_BLKPTR_SPACE (DN_MAX_BONUSLEN - sizeof (blkptr_t))
+#define SA_BLKPTR_SPACE (DN_OLD_MAX_BONUSLEN - sizeof (blkptr_t))
#define SA_LAYOUT_NUM(x, type) \
((!IS_SA_BONUSTYPE(type) ? 0 : (((IS_SA_BONUSTYPE(type)) && \