Add check for FEC support in kernel dm-verity.

This commit is contained in:
Milan Broz
2017-04-05 15:16:13 +02:00
parent 425e8b9495
commit c6a0048b9b
2 changed files with 9 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ struct device;
#define DM_SAME_CPU_CRYPT_SUPPORTED (1 << 7) /* same_cpu_crypt */
#define DM_SUBMIT_FROM_CRYPT_CPUS_SUPPORTED (1 << 8) /* submit_from_crypt_cpus */
#define DM_VERITY_ON_CORRUPTION_SUPPORTED (1 << 9) /* ignore/restart_on_corruption, ignore_zero_block */
#define DM_VERITY_FEC_SUPPORTED (1 << 10) /* Forward Error Correction (FEC) */
uint32_t dm_flags(void);