Add internal option to skip fs freeze in device suspend.

This commit is contained in:
Ondrej Kozina
2019-03-13 17:35:09 +01:00
committed by Milan Broz
parent de86ff051e
commit 052a4f432c
2 changed files with 8 additions and 0 deletions

View File

@@ -35,6 +35,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)
static inline uint32_t act2dmflags(uint32_t act_flags)
{