]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/vdev_mirror.c
Provide macros for setting and getting blkptr birth times
[mirror_zfs.git] / module / zfs / vdev_mirror.c
index f9a01c9f53f4e000f509d979f699bdb2e834373d..102eacb0334997b58d09f97caecdda362b21cd6e 100644 (file)
@@ -531,7 +531,7 @@ vdev_mirror_child_select(zio_t *zio)
        uint64_t txg = zio->io_txg;
        int c, lowest_load;
 
-       ASSERT(zio->io_bp == NULL || BP_PHYSICAL_BIRTH(zio->io_bp) == txg);
+       ASSERT(zio->io_bp == NULL || BP_GET_BIRTH(zio->io_bp) == txg);
 
        lowest_load = INT_MAX;
        mm->mm_preferred_cnt = 0;