From 6ccda740e007c01cb5d1436fe337851ff8c5d422 Mon Sep 17 00:00:00 2001 From: loli10K Date: Tue, 23 Jul 2019 15:22:07 +0000 Subject: 11282 port ZoL send/recv fixes Portions contributed by: Jerry Jelinek Portions contributed by: Brian Behlendorf Portions contributed by: Paul Zuchowski Portions contributed by: Tom Caputi Portions contributed by: Roman Strashkin Reviewed by: Matthew Ahrens Reviewed by: Olaf Faaland Reviewed by: Tom Caputi Reviewed by: Alek Pinchuk Reviewed by: loli10K Reviewed by: Brian Behlendorf Reviewed by: Paul Dagnelie Reviewed by: Jorgen Lundman Reviewed by: Richard Elling Reviewed by: Giuseppe Di Natale Reviewed by: George Melikov Reviewed by: Kody Kantor Approved by: Dan McDonald --- usr/src/lib/libzfs/common/libzfs_dataset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/lib/libzfs/common/libzfs_dataset.c') diff --git a/usr/src/lib/libzfs/common/libzfs_dataset.c b/usr/src/lib/libzfs/common/libzfs_dataset.c index a0f401de45..5b424d730b 100644 --- a/usr/src/lib/libzfs/common/libzfs_dataset.c +++ b/usr/src/lib/libzfs/common/libzfs_dataset.c @@ -3676,8 +3676,8 @@ zfs_create(libzfs_handle_t *hdl, const char *path, zfs_type_t type, } (void) parent_name(path, parent, sizeof (parent)); - if (zfs_crypto_create(hdl, parent, props, NULL, &wkeydata, - &wkeylen) != 0) { + if (zfs_crypto_create(hdl, parent, props, NULL, B_TRUE, + &wkeydata, &wkeylen) != 0) { nvlist_free(props); return (zfs_error(hdl, EZFS_CRYPTOFAILED, errbuf)); } -- cgit v1.2.3