Add dm_device_deps for quering dm device dependencies.

This commit is contained in:
Ondrej Kozina
2019-05-02 14:35:28 +02:00
parent 8e4fb993c0
commit a5c5e3e876
2 changed files with 117 additions and 0 deletions

View File

@@ -191,6 +191,8 @@ int dm_status_verity_ok(struct crypt_device *cd, const char *name);
int dm_status_integrity_failures(struct crypt_device *cd, const char *name, uint64_t *count);
int dm_query_device(struct crypt_device *cd, const char *name,
uint32_t get_flags, struct crypt_dm_active_device *dmd);
int dm_device_deps(struct crypt_device *cd, const char *name, const char *prefix,
char **names, size_t names_length);
int dm_create_device(struct crypt_device *cd, const char *name,
const char *type, struct crypt_dm_active_device *dmd);
int dm_reload_device(struct crypt_device *cd, const char *name,