Return-Path: Received: from lgeamrelo13.lge.com (LGEAMRELO13.lge.com [156.147.23.53]) by mail.server123.net (Postfix) with ESMTP for ; Wed, 2 Nov 2016 16:29:59 +0100 (CET) From: "Alexey Pronyaev" Date: Wed, 2 Nov 2016 18:14:53 +0300 Message-ID: <000601d2351b$dde97760$99bc6620$@lgepartner.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01D23535.033E2970" Content-Language: ru Subject: [dm-crypt] misprint in "cryptsetup.c" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de This is a multipart message in MIME format. ------=_NextPart_000_0007_01D23535.033E2970 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello I have just looking through (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)) So as I see there are 2 mentiones CRYPT_ACTIVATE_ALLOW_DISCARDS And no any time of using CRYPT_ACTIVATE_SAME_CPU_CRYPT Could you please check if this is just misprint? PS I am writing the e-mail, because I have not registered on https://gitlab.com/cryptsetup/ With best regards Alexey ------=_NextPart_000_0007_01D23535.033E2970 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello

 

I have just = looking through «cryptsetup.c» (ver. = cryptsetup-1.7.3)

and found out = following code (lines 473-475):

 

         &= nbsp;           &n= bsp;          if (cad.flags = & (CRYPT_ACTIVATE_ALLOW_DISCARDS|

         &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;      CRYPT_ACTIVATE_ALLOW_DISCARDS|

          &nb= sp;           &nbs= p;            = ;            =             &= nbsp;    = CRYPT_ACTIVATE_SUBMIT_FROM_CRYPT_CPUS))

 

 

So as I see = there are 2 mentiones  

CRYPT_ACTIVATE_ALLOW_DISCARDS

 

And no any time of using

CRYPT_ACTIVATE_SAME_CPU_CRYPT

 

Could you = please check if this is just misprint?

PS I am writing the e-mail, because I have not = registered on https://gitlab.com/cryptsetup/

 

With best regards

Alexey

------=_NextPart_000_0007_01D23535.033E2970--