Add dm_clear_device routine.

This commit is contained in:
Ondrej Kozina
2018-12-10 22:09:21 +01:00
committed by Milan Broz
parent d74e7fc084
commit 675cf7ef59
5 changed files with 368 additions and 31 deletions

View File

@@ -148,6 +148,7 @@ int dm_resume_device(struct crypt_device *cd, const char *name, uint32_t flags);
int dm_resume_and_reinstate_key(struct crypt_device *cd, const char *name,
const struct volume_key *vk);
int dm_error_device(struct crypt_device *cd, const char *name);
int dm_clear_device(struct crypt_device *cd, const char *name);
const char *dm_get_dir(void);