Return-Path: Received: from mail-bl2nam02on0117.outbound.protection.outlook.com ([104.47.38.117]:65248 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751388AbeFUREt (ORCPT ); Thu, 21 Jun 2018 13:04:49 -0400 From: Trond Myklebust To: "linux-nfs@vger.kernel.org" , "manjunath.b.patil@oracle.com" Subject: Re: [PATCH 1/2] nfsv4: handle ENOSPC during create session Date: Thu, 21 Jun 2018 17:04:46 +0000 Message-ID: References: <1529598933-16506-1-git-send-email-manjunath.b.patil@oracle.com> In-Reply-To: <1529598933-16506-1-git-send-email-manjunath.b.patil@oracle.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDE4LTA2LTIxIGF0IDE2OjM1ICswMDAwLCBNYW5qdW5hdGggUGF0aWwgd3JvdGU6 DQo+IFByZXNlbnRseSB0aGUgY2xpZW50IG1vdW50IGhhbmdzIGZvciBORlM0RVJSX05PU1BDIHJl cHNvbnNlIGZyb20NCj4gc2VydmVyDQo+IGR1cmluZyBjcmVhdGUgc2Vzc2lvbiBvcGVyYXRpb24u IEhhbmRsZSB0aGlzIGVycm9yIGF0IHRoZSBjbGllbnQgc2lkZQ0KPiBhbmQgcGFzcyBpdCBiYWNr IHRvIHVzZXItc3BhY2UsIHdoaWNoIG1heSBjaG9zZSB0byBtb3VudCB3aXRoIGxvd2VyDQo+IG5m cw0KPiB2ZXJzaW9ucy4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IE1hbmp1bmF0aCBQYXRpbCA8bWFu anVuYXRoLmIucGF0aWxAb3JhY2xlLmNvbT4NCj4gLS0tDQo+ICBmcy9uZnMvbmZzNHN0YXRlLmMg fCA2ICsrKysrKw0KPiAgMSBmaWxlIGNoYW5nZWQsIDYgaW5zZXJ0aW9ucygrKQ0KPiANCj4gZGlm ZiAtLWdpdCBhL2ZzL25mcy9uZnM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