Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp137314ybv; Tue, 18 Feb 2020 19:36:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwMMvj629uMY5MOJStk0ikq0zG3y1yzeF1vAien85KAoJlhQ6nK7ExCRZLbxVlCOLfQMdis X-Received: by 2002:aca:530e:: with SMTP id h14mr3293249oib.105.1582083361467; Tue, 18 Feb 2020 19:36:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582083361; cv=none; d=google.com; s=arc-20160816; b=AOpHWtJF55XC15Vyfcqk7QiO7XF+xw5W+A8W4Ey4E5pH5P93rdmU8y6LdBt3X0YreG utxrVQEptQgcxCtmk9/wCBOI5h6tNCI22V9Ak7PrUKs94KwRDBWgRDKFP9FAjhrHCDHM wPytL0aHBZkXaHa47IwCpdW27HPR0eJpFtmZd3kKrHw+A2NQvykdDKyWhNRrHpgC2hIn xQ8E0WW+fvCg70bsk/sm3yxppiqP3wuu33dyHHejz6alJIL7QayjvOXVyphxj0J83J/O HMSSR7/nXrxPnLzDDmwg4Yt/Ghgv1NHuRy/2n7AO4pBA7Xotg3i0QiJu7h8Z2edqMEk9 H72w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :ironport-sdr:dkim-signature; bh=axt5bC42zxmRw+AA1y07U4YjYojFUMoUBCzErqyeLH8=; b=kdkJHT+yhZpFyYEFIx8fFTzV5cngSCDbfRpcjvkv9QdbZqe5A7FWRdqpxJ/ZvluwOb RHyaqcLyIs0QB/fNRZvxtzHpf3TcgDJprm5J1S2Jg7uPpFpSGEPKxZWazvjSBGwMLqxV jQu1UogPjPNF2rJzfin8OCu0p9BZH7nIpsXaj515ooA4nDUzEgzUnlnMhkxqvNx2x1XZ GSYXeSKtUgenkC8TFiQ5BsDm+sT4jJuHjMx+gsLzN56G0sSSwzfUIXXP2DrGt73qUTdX Pz2u8BQJqfd5zA0lio0TF4sUC3Y+Yr3FCxCjesfjg7FRZAVxIFuehSc+jgZlsFEYBvCn bQAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=pgBHTWfA; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10si449573otn.323.2020.02.18.19.35.50; Tue, 18 Feb 2020 19:36:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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.com header.s=amazon201209 header.b=pgBHTWfA; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbgBSDeb (ORCPT + 99 others); Tue, 18 Feb 2020 22:34:31 -0500 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:6419 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbgBSDeb (ORCPT ); Tue, 18 Feb 2020 22:34:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1582083270; x=1613619270; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=axt5bC42zxmRw+AA1y07U4YjYojFUMoUBCzErqyeLH8=; b=pgBHTWfAcvRGcp3fISop0Xlr6S4Ei/EGpTW6XGGpNmX3FsI+Irftb+hs v/Maw9zBkTgBPlL9qyPiSpksTyM/7+GBBbsTNS6KQIhVfk3UBG5b1I6Ol IQ09Hinc1eCsrJPJ5dLjpFTHwsq6Ob4IycHdJ4LJCjsUglKe+1vES1h5m I=; IronPort-SDR: 2eJwaCDD4tamIpejH1nxXkpYySSNPxq9pouQg6AIzScSc7jJkIyi54Sd6QzVEeQJ/YcZsm9Y54 OzKQ9oqgOMew== X-IronPort-AV: E=Sophos;i="5.70,459,1574121600"; d="scan'208";a="17815888" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1a-67b371d8.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 19 Feb 2020 03:34:18 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1a-67b371d8.us-east-1.amazon.com (Postfix) with ESMTPS id DC40EA36B6; Wed, 19 Feb 2020 03:34:15 +0000 (UTC) Received: from EX13D30UWB001.ant.amazon.com (10.43.161.80) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 19 Feb 2020 03:34:15 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13D30UWB001.ant.amazon.com (10.43.161.80) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 19 Feb 2020 03:34:15 +0000 Received: from EX13D01UWB002.ant.amazon.com ([10.43.161.136]) by EX13d01UWB002.ant.amazon.com ([10.43.161.136]) with mapi id 15.00.1497.006; Wed, 19 Feb 2020 03:34:14 +0000 From: "Singh, Balbir" To: "linux-ext4@vger.kernel.org" , "Jitindar SIngh, Suraj" CC: "stable@vger-kernel.org" , "tytso@mit.edu" , "sjitindarsingh@gmail.com" Subject: Re: [PATCH 1/3] ext4: introduce macro sbi_array_rcu_deref() to access rcu protected fields Thread-Topic: [PATCH 1/3] ext4: introduce macro sbi_array_rcu_deref() to access rcu protected fields Thread-Index: AQHV5tIf15alY+ZIxkKysYBevAJAx6gh3UUA Date: Wed, 19 Feb 2020 03:34:14 +0000 Message-ID: References: <20200219030851.2678-1-surajjs@amazon.com> <20200219030851.2678-2-surajjs@amazon.com> In-Reply-To: <20200219030851.2678-2-surajjs@amazon.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.161.45] Content-Type: text/plain; charset="utf-8" Content-ID: <44209A0380B8844AB00E7EFFC70A9ED7@amazon.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org T24gVHVlLCAyMDIwLTAyLTE4IGF0IDE5OjA4IC0wODAwLCBTdXJhaiBKaXRpbmRhciBTaW5naCB3 cm90ZToNCj4gVGhlIHNfZ3JvdXBfZGVzYyBmaWVsZCBpbiB0aGUgc3VwZXIgYmxvY2sgaW5mbyAo c2JpKSBpcyBwcm90ZWN0ZWQgYnkgcmN1IHRvDQo+IHByZXZlbnQgYWNjZXNzIHRvIGFuIGludmFs aWQgcG9pbnRlciBkdXJpbmcgb25saW5lIHJlc2l6ZSBvcGVyYXRpb25zLg0KPiBUaGVyZSBhcmUg MiBvdGhlciBhcnJheXMgaW4gc2JpLCBzX2dyb3VwX2luZm8gYW5kIHNfZmxleF9ncm91cHMsIHdo aWNoDQo+IHJlcXVpcmUgc2ltaWxhciByY3UgcHJvdGVjdGlvbiB3aGljaCBpcyBpbnRyb2R1Y2Vk IGluIHRoZSBzdWJzZXF1ZW50DQo+IHBhdGNoZXMuIEludHJvZHVjZSBhIGhlbHBlciBtYWNybyBz YmlfYXJyYXlfcmN1X2Rlcm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