Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:32162 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754513Ab2HGPoV (ORCPT ); Tue, 7 Aug 2012 11:44:21 -0400 From: "Myklebust, Trond" To: "Schumaker, Bryan" CC: "linux-nfs@vger.kernel.org" , "joro@8bytes.org" , "mdauchy@gmail.com" Subject: Re: [PATCH] NFS: Clear key construction data if the idmap upcall fails Date: Tue, 7 Aug 2012 15:44:04 +0000 Message-ID: <1344354243.5781.20.camel@lade.trondhjem.org> References: <1344353431-28831-1-git-send-email-bjschuma@netapp.com> In-Reply-To: <1344353431-28831-1-git-send-email-bjschuma@netapp.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDEyLTA4LTA3IGF0IDExOjMwIC0wNDAwLCBianNjaHVtYUBuZXRhcHAuY29tIHdy b3RlOg0KPiBGcm9tOiBCcnlhbiBTY2h1bWFrZXIgPGJqc2NodW1hQG5ldGFwcC5jb20+DQo+IA0K PiBpZG1hcF9waXBlX2Rvd25jYWxsIGFscmVhZHkgY2xlYXJzIHRoaXMgZmllbGQgaWYgdGhlIHVw Y2FsbCBzdWNjZWVkcywNCj4gYnV0IGlmIGl0IGZhaWxzIChycGMuaWRtYXBkIGlzbid0IHJ1bm5p bmcpIHRoZSBmaWVsZCB3aWxsIHN0aWxsIGJlIHNldA0KPiBvbiB0aGUgbmV4dCBjYWxsIHRyaWdn ZXJpbmcgYSBCVUdfT04oKS4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IEJyeWFuIFNjaHVtYWtlciA8 YmpzY2h1bWFAbmV0YXBwLmNvbT4NCj4gLS0tDQo+ICBmcy9uZnMvaWRtYXAuYyB8IDE2ICsrKysr KysrKy0tLS0tLS0NCj4gIDEgZmlsZSBjaGFuZ2VkLCA5IGluc2VydGlvbnMoKyksIDcgZGVs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