Skip to content

Commit 4940a31

Browse files
committed
mmp fix
Signed-off-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
1 parent 2c908e3 commit 4940a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/zfs/mmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ mmp_claim_uberblock_sync(zio_t *zio, uint64_t *good_writes,
601601
abd_zero_off(ub_abd, sizeof (uberblock_t),
602602
VDEV_UBERBLOCK_SIZE(vd) - sizeof (uberblock_t));
603603

604-
vdev_label_write(zio, vd, 0, ub_abd,
604+
vdev_label_write(zio, vd, 0, vd->vdev_large_label, ub_abd,
605605
VDEV_UBERBLOCK_OFFSET(vd, VDEV_UBERBLOCK_COUNT(vd) -
606606
MMP_BLOCKS_PER_LABEL), VDEV_UBERBLOCK_SIZE(vd),
607607
mmp_claim_uberblock_sync_done, good_writes,

0 commit comments

Comments
 (0)