mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 03:10:08 +01:00
Use common function for accessing FEC devices.
TODO: the device wrappet should hanbdle EINTR better...
This commit is contained in:
@@ -1097,7 +1097,7 @@ static int _crypt_format_verity(struct crypt_device *cd,
|
||||
r = VERITY_create(cd, &cd->u.verity.hdr,
|
||||
cd->u.verity.root_hash, cd->u.verity.root_hash_size);
|
||||
if (!r && params->fec_device)
|
||||
r = VERITY_FEC_create(cd, &cd->u.verity.hdr);
|
||||
r = VERITY_FEC_create(cd, &cd->u.verity.hdr, cd->u.verity.fec_device);
|
||||
if (r)
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user