aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/dmu_send.c
diff options
context:
space:
mode:
authorGeorge Amanakis <gamanakis@gmail.com>2023-03-28 23:51:58 +0000
committerGitHub <noreply@github.com>2023-03-28 23:51:58 +0000
commit431083f75bdd3efaee992bdd672625ec7240d252 (patch)
tree9795844e36c83621d347ab2d930676b32ab7022e /module/zfs/dmu_send.c
parent65d10bd87c408bfa13fa27bb6ad3ecc0e2e3775b (diff)
downloadsrc-431083f75bdd3efaee992bdd672625ec7240d252.tar.gz
src-431083f75bdd3efaee992bdd672625ec7240d252.zip
Diffstat (limited to 'module/zfs/dmu_send.c')
-rw-r--r--module/zfs/dmu_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dmu_send.c b/module/zfs/dmu_send.c
index f86a0a5b1c57..5b7f5543ad09 100644
--- a/module/zfs/dmu_send.c
+++ b/module/zfs/dmu_send.c
@@ -1123,7 +1123,7 @@ send_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp,
*/
if (sta->os->os_encrypted &&
!BP_IS_HOLE(bp) && !BP_USES_CRYPT(bp)) {
- spa_log_error(spa, zb);
+ spa_log_error(spa, zb, &bp->blk_birth);
zfs_panic_recover("unencrypted block in encrypted "
"object set %llu", dmu_objset_id(sta->os));
return (SET_ERROR(EIO));