HomeFreeBSD

Fixes in head_errlog feature with encryption

Description

Fixes in head_errlog feature with encryption

For the head_errlog feature use dsl_dataset_hold_obj_flags() instead of
dsl_dataset_hold_obj() in order to enable access to the encryption keys
(if loaded). This enables reporting of errors in encrypted filesystems
which are not mounted but have their keys loaded.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #14837

Details

Provenance
g_amanakis_yahoo.comAuthored on May 8 2023, 8:35 PM
GitHub <noreply@github.com>Committed on May 8 2023, 8:35 PM
Parents
rG3095ca91c261: Verify block pointers before writing them out
Branches
Unknown
Tags
Unknown