Return-Path: Received: from mail-cys01nam02on0124.outbound.protection.outlook.com ([104.47.37.124]:5232 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755071AbeFNQ0Z (ORCPT ); Thu, 14 Jun 2018 12:26:25 -0400 From: Trond Myklebust To: "linux-nfs@vger.kernel.org" , "schumaker.anna@gmail.com" CC: "ross.zwisler@linux.intel.com" Subject: Re: [PATCH] NFS: Fix an rcu deadlock in nfs_delegation_find_inode() Date: Thu, 14 Jun 2018 16:26:21 +0000 Message-ID: References: <20180614133917.27656-1-Anna.Schumaker@Netapp.com> In-Reply-To: <20180614133917.27656-1-Anna.Schumaker@Netapp.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDE4LTA2LTE0IGF0IDA5OjM5IC0wNDAwLCBzY2h1bWFrZXIuYW5uYUBnbWFpbC5j b20gd3JvdGU6DQo+IEZyb206IEFubmEgU2NodW1ha2VyIDxBbm5hLlNjaHVtYWtlckBOZXRhcHAu Y29tPg0KPiANCj4gSSB3YXMgYWJsZSB0byByZXByb2R1Y2UgdGhpcyBwcmV0dHkgcmVndWxhcmls eSB1c2luZyB4ZnN0ZXN0cw0KPiBnZW5lcmljLzAxMyBvbiBORlMgdjQuMC4NCj4gDQo+IFJlcG9y dGVkLWJ5OiBSb3NzIFp3aXNsZXIgPFJvc3MuWndpc2xlckBsaW51eC5pbnRlbC5jb20+DQo+IEZp eGVzOiBhMzM3ZmU5MSAoTkZTdjQ6IFJldHVybiBORlM0RVJSX0RFTEFZIHdoZW4gYSBkZWxlZ2F0 aW9uIHJlY2FsbA0KPiBmYWlscyBkdWUgdG8gaWdyYWIoKSkNCj4gU2lnbmVkLW9mZi1ieTogQW5u YSBTY2h1bWFrZXIgPEFubmEuU2NodW1ha2VyQE5ldGFwcC5jb20+DQo+IC0tLQ0KPiAgZnMvbmZz L2RlbGV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