Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5814685imd; Wed, 31 Oct 2018 02:25:26 -0700 (PDT) X-Google-Smtp-Source: AJdET5c+kvTJxfmNDBhDcx1faouAk1vtg1oCT+twrcq1i8X4UkvcLwKuFU4AH2HE6h3+HtAjHNq/ X-Received: by 2002:a63:4b18:: with SMTP id y24-v6mr2424116pga.181.1540977926469; Wed, 31 Oct 2018 02:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540977926; cv=none; d=google.com; s=arc-20160816; b=iHYfABsBm+m4B50Uc2C+mKk4H9MkpwltghUsnbAeTiZbMMXcI3RT77DO1lKyRnd+RX FHZ7i+rWG8nrkOPhZVbbZoZPGX8lKe7C4v7UjgGLhEwQIroFPLdlVgH8l8XlZyEZeEo5 /9enduRrcUB0rPLzunW8M7kVTukJLyH0Spp08QVUSoLKyIiBhJlgeR1QDsa9iGxvQjS8 zbpKZBN8VioGCpu0SrYn6+bCs9eYC2xHKYylGr0dbhRPc1zsH0udbneEasNcGeKdtn53 qHkmX2g/U17XiQVX46Lv45r+yV95Lo/vYt/lDq7FO2C3VYH5mFbk1Q46PS1B+sYzzTyt 8nFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=h2XUroPz2iYXI0zbI6L7gAOuXJw15Vr57FoAADpHtkc=; b=EkGuzuDOgN1ymj9s51TFWpJDKnVHM9wCeCgG3nGXFexmUo8biz37fic7N2R8mFEbvj AY/UP+zrIKACoavLfvAuNdhFOKDayVbsITtpIg4IBpyXyVgc5LhBUaZVjbMD6Jg/lAPZ 5G5+uD03ATB9yzZsAK70x6IC6RxddZl/9TAHRlRDWoWdpa+Fy3vNfgHyR2Ktptbmf30B N36x8Jk0xKd2gGpBPrCTiqQ6ZkFMQVFgl6SLVZItIMWTrn1WNum3zhqIZMSmqJg2iN0c tl9vUyON3D2bHH8WdkKtmQ5lxb1SI7vyxoPapBuLWRdFbylTW+NJlOc7E9MDGv2BiVa6 aQEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=mbdZPZwA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b35-v6si19358273pgb.183.2018.10.31.02.25.10; Wed, 31 Oct 2018 02:25:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=mbdZPZwA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727980AbeJaSWH (ORCPT + 99 others); Wed, 31 Oct 2018 14:22:07 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:19083 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726075AbeJaSWH (ORCPT ); Wed, 31 Oct 2018 14:22:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1540977887; x=1572513887; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:mime-version: content-transfer-encoding; bh=h2XUroPz2iYXI0zbI6L7gAOuXJw15Vr57FoAADpHtkc=; b=mbdZPZwAX32QGK6KXrA2P8nSqTQqd8dd1EYWO/JRkbyIUgCyJv2IWUzD lod4vIhngRLP/SFo5klhZekHivZcrbhJE/TisivmQUGy+M5x6QeCyLWYf B2W73fwXyfAT9TedU3RfSQeASrxK78tqxyOUHL4dKUnGJRgcGzf9eyoOh g=; X-IronPort-AV: E=Sophos;i="5.54,447,1534809600"; d="scan'208";a="365938197" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2a-c5104f52.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Oct 2018 09:24:45 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2a-c5104f52.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w9V9OeU6052104 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 31 Oct 2018 09:24:44 GMT Received: from EX13D08EUC004.ant.amazon.com (10.43.164.176) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 31 Oct 2018 09:24:44 +0000 Received: from EX13D18EUC002.ant.amazon.com (10.43.164.50) by EX13D08EUC004.ant.amazon.com (10.43.164.176) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 31 Oct 2018 09:24:43 +0000 Received: from EX13D18EUC002.ant.amazon.com ([10.43.164.50]) by EX13D18EUC002.ant.amazon.com ([10.43.164.50]) with mapi id 15.00.1367.000; Wed, 31 Oct 2018 09:24:43 +0000 From: "Shah, Amit" To: "Heyne, Maximilian" CC: "linux-kernel@vger.kernel.org" , "Woodhouse, David" , "hch@lst.de" , "stable@vger.kernel.org" , "viro@zeniv.linux.org.uk" , "linux-fsdevel@vger.kernel.org" , "Dannowski, Uwe" , "Mehlan, Torsten" Subject: Re: [PATCH] fs: fix lost error code in dio_complete Thread-Topic: [PATCH] fs: fix lost error code in dio_complete Thread-Index: AQHUcJu/T1oGSJ7npE6IhxEAy6raE6U5FeWA Date: Wed, 31 Oct 2018 09:24:43 +0000 Message-ID: <1540977883.6429.74.camel@amazon.com> References: <20181030215739.4557-1-mheyne@amazon.de> In-Reply-To: <20181030215739.4557-1-mheyne@amazon.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.166.231] Content-Type: text/plain; charset="utf-8" Content-ID: <349323C0013D7842B5B361F149F7BD06@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRGksIDIwMTgtMTAtMzAgYXQgMjE6NTcgKzAwMDAsIE1heGltaWxpYW4gSGV5bmUgd3JvdGU6 DQo+IGNvbW1pdCBlMjU5MjIxNzYzYTQwNDAzZDViYjIzMjIwOTk5OGU4YzQ1ODA0YWI4ICgiZnM6 IHNpbXBsaWZ5IHRoZQ0KPiBnZW5lcmljX3dyaXRlX3N5bmMgcHJvdG90eXBlIikgcmV3b3JrZWQg Y2FsbGVycyBvZiBnZW5lcmljX3dyaXRlX3N5bmMoKSwNCj4gYW5kIGVuZGVkIHVwIGRyb3BwaW5n IHRoZSBlcnJvciByZXR1cm4gZm9yIHRoZSBkaXJlY3RpbyBwYXRoLiBQcmlvciB0bw0KPiB0aGF0 IGNvbW1pdCwgaW4gZGlvX2NvbXBsZXRlKCksIGFuIGVycm9yIHdvdWxkIGJlIGJ1YmJsZWQgdXAg dGhlIHN0YWNrLA0KPiBidXQgYWZ0ZXIgdGhhdCBjb21taXQsIGVycm9ycyBwYXNzZWQgb24gdG8g ZGlvX2NvbXBsZXRlIHdlcmUgZWF0ZW4gdXAuDQo+IA0KPiBUaGlzIHdhcyByZX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