Fix api test on kernels with capi format support.

This commit is contained in:
Ondrej Kozina
2023-01-19 11:50:48 +01:00
parent 48d6f85cc3
commit 4cd8d1efdb
3 changed files with 17 additions and 9 deletions

View File

@@ -685,6 +685,11 @@ int t_dm_integrity_recalculate_support(void)
return t_dm_crypt_flags & T_DM_INTEGRITY_RECALC_SUPPORTED;
}
int t_dm_capi_string_supported(void)
{
return t_dm_crypt_flags & T_DM_CAPI_STRING_SUPPORTED;
}
/* loop helpers */
#define LOOP_DEV_MAJOR 7