From 7eaaa6f32ecdd63b5633ba54f1189cf5cf79aec3 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Thu, 2 Jan 2020 20:45:53 -0800 Subject: [PATCH] Fix zfs-0.8.3 zfs_receive_raw test case Fix the zfs_receive_raw test case for zfs-0.8.3 by including the one-liner fix from loli10k described here: https://github.com/zfsonlinux/zfs/pull/9776#issuecomment-570252679 Signed-off-by: Tony Hutter --- lib/libzfs/libzfs_sendrecv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libzfs/libzfs_sendrecv.c b/lib/libzfs/libzfs_sendrecv.c index a93235798..1875f79e7 100644 --- a/lib/libzfs/libzfs_sendrecv.c +++ b/lib/libzfs/libzfs_sendrecv.c @@ -3518,6 +3518,7 @@ recv_skip(libzfs_handle_t *hdl, int fd, boolean_t byteswap) P2ROUNDUP(drr->drr_u.drr_write_embedded.drr_psize, 8), B_FALSE, NULL); break; + case DRR_OBJECT_RANGE: case DRR_WRITE_BYREF: case DRR_FREEOBJECTS: case DRR_FREE: