summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2008-12-18 13:50:12 -0800
committerBrian Behlendorf <[email protected]>2008-12-18 13:50:12 -0800
commit6cccf01d35a1f9fbe2724ceaaac2af014d49545d (patch)
tree6e7317f89f6088b486190468309549f3cf2a56f9 /module
parent973a9d5a79331fee6ab310102a94112b6bf0529c (diff)
Missed needed drc var
Diffstat (limited to 'module')
-rw-r--r--module/zfs/dmu_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/dmu_send.c b/module/zfs/dmu_send.c
index db4890c7b..65c60c816 100644
--- a/module/zfs/dmu_send.c
+++ b/module/zfs/dmu_send.c
@@ -960,7 +960,7 @@ dmu_recv_abort_cleanup(dmu_recv_cookie_t *drc)
* Compute checksum of drr_begin record
*/
static void
-dmu_recv_stream_cksum(struct restorearg *ra)
+dmu_recv_stream_cksum(dmu_recv_cookie_t *drc, struct restorearg *ra)
{
dmu_replay_record_t *drr;
@@ -992,7 +992,7 @@ dmu_recv_stream(dmu_recv_cookie_t *drc, vnode_t *vp, offset_t *voffp)
if (drc->drc_drrb->drr_magic == BSWAP_64(DMU_BACKUP_MAGIC))
ra.byteswap = TRUE;
- dmu_recv_stream_cksum(&ra);
+ dmu_recv_stream_cksum(drc, &ra);
if (ra.byteswap) {
struct drr_begin *drrb = drc->drc_drrb;