aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zio.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/zio.c')
-rw-r--r--module/zfs/zio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c
index a6bf8a27b..78dff51af 100644
--- a/module/zfs/zio.c
+++ b/module/zfs/zio.c
@@ -4799,6 +4799,9 @@ zbookmark_compare(uint16_t dbss1, uint8_t ibs1, uint16_t dbss2, uint8_t ibs2,
zb1->zb_blkid == zb2->zb_blkid)
return (0);
+ IMPLY(zb1->zb_level > 0, ibs1 >= SPA_MINBLOCKSHIFT);
+ IMPLY(zb2->zb_level > 0, ibs2 >= SPA_MINBLOCKSHIFT);
+
/*
* BP_SPANB calculates the span in blocks.
*/