summaryrefslogtreecommitdiffstats
path: root/module/zfs/arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/arc.c')
-rw-r--r--module/zfs/arc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index bd2aafc2c..837ef1801 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -6170,6 +6170,8 @@ arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
ASSERT(!embedded_bp ||
BPE_GET_ETYPE(bp) == BP_EMBEDDED_TYPE_DATA);
+ ASSERT(!BP_IS_HOLE(bp));
+ ASSERT(!BP_IS_REDACTED(bp));
top:
if (!embedded_bp) {