Skip to content

Commit

Permalink
Correct code in raidz_checksum_error()
Browse files Browse the repository at this point in the history
Illumos code sets up a temp 'buf' for the ereport, crypto changes
missed using 'buf' in the call.
  • Loading branch information
lundman committed Jun 21, 2017
1 parent 84fbf78 commit 7e91e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/fs/zfs/vdev_raidz.c
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ raidz_checksum_error(zio_t *zio, raidz_col_t *rc, void *bad_data)
buf = abd_borrow_buf_copy(rc->rc_abd, rc->rc_size);
zfs_ereport_post_checksum(zio->io_spa, vd,
&zio->io_bookmark, zio, rc->rc_offset, rc->rc_size,
rc->rc_abd, bad_data, &zbc);
buf, bad_data, &zbc);
abd_return_buf(rc->rc_abd, buf, rc->rc_size);
}
}
Expand Down

0 comments on commit 7e91e1a

Please sign in to comment.