diff options
author | George Amanakis <[email protected]> | 2022-08-23 02:42:01 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-22 17:42:01 -0700 |
commit | 0c4064d9a08ca2cf601ad1010e7cfd3f917cb991 (patch) | |
tree | e810a24532dc58a3933c3d54d0737ada633dab15 /include/sys | |
parent | 17e212652db34d2942d6aa42ba14b443bcd73bea (diff) |
Fix zpool status in case of unloaded keys
When scrubbing an encrypted filesystem with unloaded key still report an
error in zpool status.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alek Pinchuk <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #13675
Closes #13717
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/dsl_crypt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/dsl_crypt.h b/include/sys/dsl_crypt.h index db594eece..72716e296 100644 --- a/include/sys/dsl_crypt.h +++ b/include/sys/dsl_crypt.h @@ -222,5 +222,6 @@ int spa_do_crypt_abd(boolean_t encrypt, spa_t *spa, const zbookmark_phys_t *zb, dmu_object_type_t ot, boolean_t dedup, boolean_t bswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt); +zfs_keystatus_t dsl_dataset_get_keystatus(dsl_dir_t *dd); #endif |