From 511ca431edc6a500f754bca1e48d232b53e8fc92 Mon Sep 17 00:00:00 2001 From: George Amanakis Date: Tue, 2 Mar 2021 21:13:13 +0100 Subject: [PATCH] generate new mapping for the ds Signed-off-by: George Amanakis --- module/zfs/dsl_crypt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/dsl_crypt.c b/module/zfs/dsl_crypt.c index 6168aac76ac1..68dd5d0f9b06 100644 --- a/module/zfs/dsl_crypt.c +++ b/module/zfs/dsl_crypt.c @@ -2136,6 +2136,8 @@ dsl_crypto_recv_raw_objset_sync(dsl_dataset_t *ds, dmu_objset_type_t ostype, /* dsl_dataset_sync_done will drop this reference. */ dmu_buf_add_ref(ds->ds_dbuf, ds); dsl_dataset_sync_done(ds, tx); + + dsl_dataset_create_key_mapping(ds); } }