[dm-crypt] misprint in "cryptsetup.c"

Milan Broz gmazyland at gmail.com
Wed Nov 2 19:57:57 CET 2016


On 11/02/2016 04:14 PM, Alexey Pronyaev wrote:
> I have just looking through «cryptsetup.c» (ver. cryptsetup-1.7.3)
> 
> and found out following code (lines 473-475):
> 
> 
> if (cad.flags & (CRYPT_ACTIVATE_ALLOW_DISCARDS|
> 
> CRYPT_ACTIVATE_ALLOW_DISCARDS|
> 
> CRYPT_ACTIVATE_SUBMIT_FROM_CRYPT_CPUS))

Hi,
yes, it is copy&paste error. I just fixed it in the devel git branch.

It is in the status function, so it will only skip the one line
of status output if same-cpu option is used, so it is not big problem.

Anyway, thanks for the report!

Milan


More information about the dm-crypt mailing list