Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:31885 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146Ab2CHUuQ (ORCPT ); Thu, 8 Mar 2012 15:50:16 -0500 From: "Myklebust, Trond" To: "J. Bruce Fields" CC: Olga Kornievskaia , Miklos Szeredi , "linux-nfs@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] NFSv4: Return the delegation if the server returns NFS4ERR_OPENMODE Date: Thu, 8 Mar 2012 20:50:14 +0000 Message-ID: <1331239814.11759.1.camel@lade.trondhjem.org> References: <87k42yjb0c.fsf@tucsk.pomaz.szeredi.hu> <1331160049-3842-1-git-send-email-Trond.Myklebust@netapp.com> <1331160049-3842-2-git-send-email-Trond.Myklebust@netapp.com> <1331160049-3842-3-git-send-email-Trond.Myklebust@netapp.com> <1331230525.2472.39.camel@lade.trondhjem.org> <20120308204205.GB9273@fieldses.org> In-Reply-To: <20120308204205.GB9273@fieldses.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDEyLTAzLTA4IGF0IDE1OjQyIC0wNTAwLCBKLiBCcnVjZSBGaWVsZHMgd3JvdGU6 DQo+IE9uIFRodSwgTWFyIDA4LCAyMDEyIGF0IDAzOjIzOjM0UE0gLTA1MDAsIE9sZ2EgS29ybmll dnNrYWlhIHdyb3RlOg0KPiA+IE9uIFRodSwgTWFyIDgsIDIwMTIgYXQgMToxNSBQTSwgTXlrbGVi dXN0LCBUcm9uZA0KPiA+IDxUcm9uZC5NeWtsZWJ1c3RAbmV0YXBwLmNvbT4gd3JvdGU6DQo+ID4g PiBPbiBUaHUsIDIwMTItMDMtMDggYXQgMTI6NTIgLTA1MDAsIE9sZ2EgS29ybmlldnNrYWlhIHdy b3RlOg0KPiA+ID4+IHdvdWxkbid0IGl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