diff --git a/module/zfs/zio.c b/module/zfs/zio.c index e06b7da44f39..f45dfe64268f 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -3472,7 +3472,7 @@ zbookmark_is_before(const dnode_phys_t *dnp, const zbookmark_phys_t *zb1, if (zb1->zb_object == DMU_META_DNODE_OBJECT) { uint64_t nextobj = zb1nextL0 * - (dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT) >> DNODE_SHIFT; + (dnp->dn_datablkszsec << (SPA_MINBLOCKSHIFT - DNODE_SHIFT)); return (nextobj <= zb2thisobj); }