mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 11:50:10 +01:00
Rename reenc_keyslot_update to reencrypt_keyslot_update.
This commit is contained in:
@@ -92,7 +92,7 @@ struct luks2_reencrypt {
|
|||||||
struct crypt_lock_handle *reenc_lock;
|
struct crypt_lock_handle *reenc_lock;
|
||||||
};
|
};
|
||||||
|
|
||||||
static int reenc_keyslot_update(struct crypt_device *cd,
|
static int reencrypt_keyslot_update(struct crypt_device *cd,
|
||||||
const struct luks2_reencrypt *rh)
|
const struct luks2_reencrypt *rh)
|
||||||
{
|
{
|
||||||
json_object *jobj_keyslot, *jobj_area, *jobj_area_type;
|
json_object *jobj_keyslot, *jobj_area, *jobj_area_type;
|
||||||
@@ -3110,7 +3110,7 @@ static reenc_status_t reencrypt_step(struct crypt_device *cd,
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
/* update reencrypt keyslot protection parameters in memory only */
|
/* update reencrypt keyslot protection parameters in memory only */
|
||||||
r = reenc_keyslot_update(cd, rh);
|
r = reencrypt_keyslot_update(cd, rh);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_dbg(cd, "Keyslot update failed.");
|
log_dbg(cd, "Keyslot update failed.");
|
||||||
return REENC_ERR;
|
return REENC_ERR;
|
||||||
|
|||||||
Reference in New Issue
Block a user