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

@@ -138,6 +138,10 @@ size_t size_round_up(size_t size, size_t block);
int create_or_reload_device(struct crypt_device *cd, const char *name,
const char *type, struct crypt_dm_active_device *dmd);
int create_or_reload_device_with_integrity(struct crypt_device *cd, const char *name,
const char *type, struct crypt_dm_active_device *dmd,
struct crypt_dm_active_device *dmdi);
/* Receive backend devices from context helpers */
struct device *crypt_metadata_device(struct crypt_device *cd);
struct device *crypt_data_device(struct crypt_device *cd);