From patchwork Sun Jul 2 14:41:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 106850 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp8293598obb; Sun, 2 Jul 2017 07:45:08 -0700 (PDT) X-Received: by 10.99.228.69 with SMTP id i5mr5486862pgk.192.1499006707998; Sun, 02 Jul 2017 07:45:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499006707; cv=none; d=google.com; s=arc-20160816; b=pEfYmXc7tt5Pkf6KSz7lFUcMX/37Nk9szaj8ecjoyY3M29bd0Lq65Cl6wms+CybzKW e+pGXSLoCSpdjJYqplOvzhScud1NmJAKDYDaawCplqzWYni/6dtn+yg3O9TCG3qY6xCN DatNx2XYXGOGqufqfpxF69B2bgjIigeKDBIaPV1R0l6a20RLxBgN5mNYCoKllgSOe9uc L06FuYLJhN1lGJdc0BUld09K+pLM8FtbS9xPBAQqWc0C2g1epnVEMNsH+aysybK9DXgV zr6uwygefMuEgYkB+4PI0Gqk2oSAj4S4V8U6q/8j1nQqGMAaX+7+a4z5Wr4QbsLUmDa/ /N6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=IlzlfFQaEd2K5fNpzTP7A6BHcyqQkP/oI2LwUlvJwLs=; b=GKKmFkntg8qXRRNFAVN/INhBTXs977ptK/MJQY/1eF07xMT6N19emrFhJP5VkjSEK+ G8vUQv4UUotzePkbI0fY8VMyAC9FAtBG602Qq8DLNcSrSGQwZcdOiU0enZuT2I+98AJp gjUWMODPxowju4nwjyAOsxnLOMPsB9IbIsOxGFO5a4Ap3+pfA+E7n5G9ts9+t6ewi0jU 399Pl7bhBAT/BcCYJBlEWm606OysV1IeDv8TJ1eODIxkR8uo2KbCshZuE1jg/VZrpBpC GjZAgnXfpxlhOMGz86V2ZfIuNPHMRF4K3EmwvQbxsoCdRHkU9kueOfUAPif4CSFcvgaK GfZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si2341484pfb.183.2017.07.02.07.45.07; Sun, 02 Jul 2017 07:45:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752532AbdGBOo6 (ORCPT + 1 other); Sun, 2 Jul 2017 10:44:58 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:53970 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752510AbdGBOoz (ORCPT ); Sun, 2 Jul 2017 10:44:55 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1191D15B2; Sun, 2 Jul 2017 07:44:54 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2CFF53F578; Sun, 2 Jul 2017 07:44:45 -0700 (PDT) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" , Jonathan Corbet , David Howells , Tom Lendacky , Gary Hook , Boris Brezillon , Arnaud Ebalard , Matthias Brugger , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Shaohua Li , Steve French , "Theodore Y. Ts'o" , Jaegeuk Kim , Mimi Zohar , Dmitry Kasatkin , James Morris , "Serge E. Hallyn" , linux-crypto@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, keyrings@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-raid@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-fscrypt@vger.kernel.org, linux-ima-devel@lists.sourceforge.net, linux-ima-user@lists.sourceforge.net, linux-security-module@vger.kernel.org Cc: Ofir Drang Subject: [PATCH v3 11/28] cifs: use -EIOCBQUEUED for backlog indication Date: Sun, 2 Jul 2017 17:41:53 +0300 Message-Id: <1499006535-19760-12-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1499006535-19760-1-git-send-email-gilad@benyossef.com> References: <1499006535-19760-1-git-send-email-gilad@benyossef.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication as part of new API. Signed-off-by: Gilad Ben-Yossef --- This patch should be squashed with the first patch in the series when applied. fs/cifs/smb2ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4 diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index 941c40b..00b1143 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -1934,7 +1934,7 @@ crypt_message(struct TCP_Server_Info *server, struct smb_rqst *rqst, int enc) rc = enc ? crypto_aead_encrypt(req) : crypto_aead_decrypt(req); - if (rc == -EINPROGRESS || rc == -EBUSY) { + if (rc == -EINPROGRESS || rc == -EIOCBQUEUED) { wait_for_completion(&result.completion); rc = result.err; }