diff options
author | наб <[email protected]> | 2022-04-19 20:49:30 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-06-29 14:08:59 -0700 |
commit | dd66857d92d86643bda57b92fdd58f016bd1725e (patch) | |
tree | 9048c7e8ea0821c264cbaab4ee5a29379393ddbf /include/sys/dsl_crypt.h | |
parent | a926aab902ac5c680f4766568d19674b80fb58bb (diff) |
Remaining {=> const} char|void *tag
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13348
Diffstat (limited to 'include/sys/dsl_crypt.h')
-rw-r--r-- | include/sys/dsl_crypt.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/sys/dsl_crypt.h b/include/sys/dsl_crypt.h index 835720c87..db594eece 100644 --- a/include/sys/dsl_crypt.h +++ b/include/sys/dsl_crypt.h @@ -174,19 +174,20 @@ boolean_t dsl_dir_incompatible_encryption_version(dsl_dir_t *dd); void spa_keystore_init(spa_keystore_t *sk); void spa_keystore_fini(spa_keystore_t *sk); -void spa_keystore_dsl_key_rele(spa_t *spa, dsl_crypto_key_t *dck, void *tag); +void spa_keystore_dsl_key_rele(spa_t *spa, dsl_crypto_key_t *dck, + const void *tag); int spa_keystore_load_wkey_impl(spa_t *spa, dsl_wrapping_key_t *wkey); int spa_keystore_load_wkey(const char *dsname, dsl_crypto_params_t *dcp, boolean_t noop); int spa_keystore_unload_wkey_impl(spa_t *spa, uint64_t ddobj); int spa_keystore_unload_wkey(const char *dsname); -int spa_keystore_create_mapping(spa_t *spa, struct dsl_dataset *ds, void *tag, - dsl_key_mapping_t **km_out); -int spa_keystore_remove_mapping(spa_t *spa, uint64_t dsobj, void *tag); -void key_mapping_add_ref(dsl_key_mapping_t *km, void *tag); -void key_mapping_rele(spa_t *spa, dsl_key_mapping_t *km, void *tag); -int spa_keystore_lookup_key(spa_t *spa, uint64_t dsobj, void *tag, +int spa_keystore_create_mapping(spa_t *spa, struct dsl_dataset *ds, + const void *tag, dsl_key_mapping_t **km_out); +int spa_keystore_remove_mapping(spa_t *spa, uint64_t dsobj, const void *tag); +void key_mapping_add_ref(dsl_key_mapping_t *km, const void *tag); +void key_mapping_rele(spa_t *spa, dsl_key_mapping_t *km, const void *tag); +int spa_keystore_lookup_key(spa_t *spa, uint64_t dsobj, const void *tag, dsl_crypto_key_t **dck_out); int dsl_crypto_populate_key_nvlist(struct objset *os, |