Skip to content

Commit 954010f

Browse files
author
Paul Dagnelie
committed
Fix bad argument order
Signed-off-by: Paul Dagnelie <[email protected]>
1 parent f63b731 commit 954010f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/zfs/zio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3665,8 +3665,8 @@ zio_ddt_child_write_ready(zio_t *zio)
36653665
for (int i = 0; i < BP_GET_NDVAS(zio->io_bp); i++) {
36663666
dva_t *d = &zio->io_bp->blk_dva[i];
36673667
metaslab_group_alloc_decrement(zio->io_spa,
3668-
DVA_GET_VDEV(d), METASLAB_ASYNC_ALLOC,
3669-
zio->io_allocator, B_FALSE, zio);
3668+
DVA_GET_VDEV(d), zio->io_allocator,
3669+
METASLAB_ASYNC_ALLOC, zio->io_size, zio);
36703670
}
36713671
zio->io_error = EAGAIN;
36723672
}

0 commit comments

Comments
 (0)