Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:37911 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754239Ab2EXUjI (ORCPT ); Thu, 24 May 2012 16:39:08 -0400 Received: from vmwexceht04-prd.hq.netapp.com (vmwexceht04-prd.hq.netapp.com [10.106.77.34]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q4OKd7Km028588 for ; Thu, 24 May 2012 13:39:08 -0700 (PDT) From: "Myklebust, Trond" To: "Adamson, Dros" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 2/2] nfs41: Use BIND_CONN_TO_SESSION for CB_PATH_DOWN* Date: Thu, 24 May 2012 20:39:06 +0000 Message-ID: <1337891951.3054.31.camel@lade.trondhjem.org> References: <1337876797-17706-1-git-send-email-dros@netapp.com> <1337876797-17706-2-git-send-email-dros@netapp.com> In-Reply-To: <1337876797-17706-2-git-send-email-dros@netapp.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDEyLTA1LTI0IGF0IDEyOjI2IC0wNDAwLCBXZXN0b24gQW5kcm9zIEFkYW1zb24g d3JvdGU6DQo+IFRoZSBzdGF0ZSBtYW5hZ2VyIGNhbiBoYW5kbGUgU0VRNF9TVEFUVVNfQ0JfUEFU SF9ET1dOKiBmbGFncyB3aXRoIGENCj4gQklORF9DT05OX1RPX1NFU1NJT04gaW5zdGVhZCBvZiBk ZXN0cm95aW5nIHRoZSBzZXNzaW9uIGFuZCBjcmVhdGluZyBhIG5ldyBvbmUuDQo+IA0KPiBTaWdu ZWQtb2ZmLWJ5OiBXZXN0b24gQW5kcm9zIEFkYW1zb24gPGRyb3NAbmV0YXBwLmNvbT4NCj4gLS0t DQo+ICBmcy9uZnMvbmZzNF9mcy5oICAgfCAgICAxICsNCj4gIGZzL25mcy9uZnM0c3RhdGUuYy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