Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:24394 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756323Ab2CAQS1 (ORCPT ); Thu, 1 Mar 2012 11:18:27 -0500 Received: from vmwexceht01-prd.hq.netapp.com ([10.106.76.239]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q21GIR9x025388 for ; Thu, 1 Mar 2012 08:18:27 -0800 (PST) From: "Myklebust, Trond" To: "Schumaker, Bryan" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 1/2] NFSv4.1: Get rid of redundant NFS4CLNT_LAYOUTRECALL tests Date: Thu, 1 Mar 2012 16:18:25 +0000 Message-ID: <1330618704.9416.1.camel@lade.trondhjem.org> References: <1330558445-4583-1-git-send-email-Trond.Myklebust@netapp.com> <4F4F9828.9040808@netapp.com> In-Reply-To: <4F4F9828.9040808@netapp.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDEyLTAzLTAxIGF0IDEwOjM5IC0wNTAwLCBCcnlhbiBTY2h1bWFrZXIgd3JvdGU6 DQo+IE9uIDAyLzI5LzIwMTIgMDY6MzQgUE0sIFRyb25kIE15a2xlYnVzdCB3cm90ZToNCj4gDQo+ ID4gVGhlIE5GUzRDTE5UX0xBWU9VVFJFQ0FMTCB0ZXN0cyBpbiBwbmZzX2xheW91dF9wcm9jZXNz IGFuZA0KPiA+IHBuZnNfdXBkYXRlX2xheW91dCBhcmUgcmVkdW5kYW50Lg0KPiA+IA0KPiA+IElu IHRoZSBjYXNlIG9mIGEgYnVsayBsYXlvdXQgcmVjYWxsLCB3ZSdyZSBhbHdheXMgdGVzdGluZyBm b3INCj4gPiB0aGUgTkZTX0xBWU9VVF9CVUxLX1JFQ0FMTCBmbGF5IGFueXdheS4NCj4gPiBJbiB0 aGUgY2FzZSBvZiB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