summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/metaslab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/metaslab.c b/module/zfs/metaslab.c
index c2c1d2dfc..a4cf39a3f 100644
--- a/module/zfs/metaslab.c
+++ b/module/zfs/metaslab.c
@@ -2572,7 +2572,7 @@ metaslab_alloc(spa_t *spa, metaslab_class_t *mc, uint64_t psize, blkptr_t *bp,
spa_config_exit(spa, SCL_ALLOC, FTAG);
- BP_SET_BIRTH(bp, txg, txg);
+ BP_SET_BIRTH(bp, txg, 0);
return (0);
}