]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/zio_checksum.c
Provide macros for setting and getting blkptr birth times
[mirror_zfs.git] / module / zfs / zio_checksum.c
index e511b31fee6d092569ad631f260b1cd5681e5498..ce6772a40c8b0ac632cd6e99cd71aaa21240627c 100644 (file)
@@ -272,7 +272,7 @@ static void
 zio_checksum_gang_verifier(zio_cksum_t *zcp, const blkptr_t *bp)
 {
        const dva_t *dva = BP_IDENTITY(bp);
-       uint64_t txg = BP_PHYSICAL_BIRTH(bp);
+       uint64_t txg = BP_GET_BIRTH(bp);
 
        ASSERT(BP_IS_GANG(bp));