Add wipe key flag for internal device suspend.

This commit is contained in:
Ondrej Kozina
2019-03-13 17:39:17 +01:00
committed by Milan Broz
parent 052a4f432c
commit 4df2ce4409
2 changed files with 24 additions and 6 deletions

View File

@@ -36,6 +36,7 @@ struct crypt_params_integrity;
/* Device mapper internal flags */
#define DM_RESUME_PRIVATE (1 << 4) /* CRYPT_ACTIVATE_PRIVATE */
#define DM_SUSPEND_SKIP_LOCKFS (1 << 5)
#define DM_SUSPEND_WIPE_KEY (1 << 6)
static inline uint32_t act2dmflags(uint32_t act_flags)
{