Rename LUKS2_reencrypt_status to LUKS2_reencrypt_get_params to avoid confusion.

This commit is contained in:
Milan Broz
2020-07-04 12:23:07 +02:00
parent 3e0e5bac2a
commit d95472e757
3 changed files with 4 additions and 4 deletions

View File

@@ -6039,7 +6039,7 @@ crypt_reencrypt_info crypt_reencrypt_status(struct crypt_device *cd,
if (_onlyLUKS2(cd, CRYPT_CD_QUIET, CRYPT_REQUIREMENT_ONLINE_REENCRYPT))
return CRYPT_REENCRYPT_INVALID;
return LUKS2_reencrypt_status(cd, params);
return LUKS2_reencrypt_get_params(&cd->u.luks2.hdr, params);
}
static void __attribute__((destructor)) libcryptsetup_exit(void)