Return-Path: Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Wed, 2 Nov 2016 19:58:00 +0100 (CET) Received: by mail-wm0-x241.google.com with SMTP id c17so4426462wmc.3 for ; Wed, 02 Nov 2016 11:58:00 -0700 (PDT) References: <000601d2351b$dde97760$99bc6620$@lgepartner.com> From: Milan Broz Message-ID: Date: Wed, 2 Nov 2016 19:57:57 +0100 MIME-Version: 1.0 In-Reply-To: <000601d2351b$dde97760$99bc6620$@lgepartner.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] misprint in "cryptsetup.c" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Pronyaev , dm-crypt@saout.de On 11/02/2016 04:14 PM, Alexey Pronyaev wrote: > I have just looking through =ABcryptsetup.c=BB (ver. cryptsetup-1.7.3) >=20 > and found out following code (lines 473-475): >=20 >=20 > if (cad.flags & (CRYPT_ACTIVATE_ALLOW_DISCARDS| >=20 > CRYPT_ACTIVATE_ALLOW_DISCARDS| >=20 > 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