Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:58819 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754781Ab2CHSPn (ORCPT ); Thu, 8 Mar 2012 13:15:43 -0500 From: "Myklebust, Trond" To: Olga Kornievskaia CC: 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 18:15:26 +0000 Message-ID: <1331230525.2472.39.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> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDEyLTAzLTA4IGF0IDEyOjUyIC0wNTAwLCBPbGdhIEtvcm5pZXZza2FpYSB3cm90 ZToNCj4gd291bGRuJ3QgaXQgYmUgYmV0dGVyIGZvciB5b3UgdG8gcHJvYWN0aXZlbHkgcmV0dXJu IGEgcmVhZCBkZWxlZ2F0aW9uDQo+IHRoZW4gdW5uZWNlc3NhcmlseSBlcnJvcmluZz8NCg0KSWYg bm9ib2R5IGVsc2UgaG9sZHMgYSBkZWxlZ2F0aW9uLCB0aGVuIHRoZSBORlMgY2xpZW50IGlzIGFj dHVhbGx5DQphbGxvd2VkIHRvIGtlZXAgaXRzIHJlYWQgZGVsZWdhdGlvbiB3aGlsZSB3cml0aW5n IHRvIHRoZSBmaWxlLiBJdCBkb2VzDQphZG1pdHRlZGx5IG5lZWQgdG8gcmVxdWVzdCBhbiBPUEVO IHN0YXRlaWQgZm9yIHdyaXRlIGluIHRoYX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