Return-Path: Received: from mail-co1nam03on0134.outbound.protection.outlook.com ([104.47.40.134]:22848 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730266AbeGTBWs (ORCPT ); Thu, 19 Jul 2018 21:22:48 -0400 From: Trond Myklebust To: "sargun@sargun.me" CC: "kinglongmee@gmail.com" , "Anna.Schumaker@netapp.com" , "ebiederm@xmission.com" , "linux-nfs@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" Subject: Re: [PATCH] net/sunrpc: Add user namespace support Date: Fri, 20 Jul 2018 00:37:06 +0000 Message-ID: References: <20180719174246.GA19824@ircssh-2.c.rugged-nimbus-611.internal> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDE4LTA3LTE5IGF0IDE3OjAwIC0wNzAwLCBTYXJndW4gRGhpbGxvbiB3cm90ZToN Cj4gT24gVGh1LCBKdWwgMTksIDIwMTggYXQgMTI6NDUgUE0sIFRyb25kIE15a2xlYnVzdA0KPiA8 dHJvbmRteUBoYW1tZXJzcGFjZS5jb20+IHdyb3RlOg0KPiA+IA0KPiA+IE9uIFRodSwgMjAxOC0w Ny0xOSBhdCAxNzo0MiArMDAwMCwgU2FyZ3VuIERoaWxsb24gd3JvdGU6DQo+ID4gPiBUaGlzIGFk ZHMgdGhlIGFiaWxpdHkgdG8gcGFzcyBhIG5vbi1pbml0IHVzZXIgbmFtZXNwYWNlIHRvDQo+ID4g PiBycGNhdXRoX2NyZWF0ZSwNCj4gPiA+IHZpYSBycGNfYXV0aF9jcmVhdGVfYXJncy4gSWYgdGhl IHNwZWNpZmljIGF1dGhlbnRpY2F0aW9uDQo+ID4gPiBtZWNoYW5pc20NCj4gPiA+IGRvZXMgbm90 IHN1cHBvcnQgbm9uLWluaXQgdXNlciBuYW1lc3BhY2VzLCB0aGVuIGl0IHdpbGwgcmV0dXJuIGF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