mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Because there are already 3 targets used, the current detection based only on dm-crypt is not sufficient. Add new definition of dm_flags that allows separate target version detect. Note: we do not want to load targets explicitly; instead, we repeats detection after operation that could trigger target load. If dm_flags() call fails, then the target is not yet loaded.