Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:49483 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754574Ab2BPUnW (ORCPT ); Thu, 16 Feb 2012 15:43:22 -0500 Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q1GKhLPB025289 for ; Thu, 16 Feb 2012 12:43:22 -0800 (PST) From: "Myklebust, Trond" To: "Adamson, Dros" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 2/3] NFSv4: fix server_scope memory leak Date: Thu, 16 Feb 2012 20:43:13 +0000 Message-ID: <1329424993.19793.12.camel@lade.trondhjem.org> References: <1329409026-20466-1-git-send-email-dros@netapp.com> <1329409026-20466-2-git-send-email-dros@netapp.com> In-Reply-To: <1329409026-20466-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: T24gVGh1LCAyMDEyLTAyLTE2IGF0IDExOjE3IC0wNTAwLCBXZXN0b24gQW5kcm9zIEFkYW1zb24g d3JvdGU6DQo+IHNlcnZlcl9zY29wZSB3b3VsZCBuZXZlciBiZSBmcmVlZCBpZiBuZnM0X2NoZWNr X2NsX2V4Y2hhbmdlX2ZsYWdzKCkgcmV0dXJuZWQNCj4gbm9uLXplcm8NCj4gDQo+IFNpZ25lZC1v ZmYtYnk6IFdlc3RvbiBBbmRyb3MgQWRhbXNvbiA8ZHJvc0BuZXRhcHAuY29tPg0KPiAtLS0NCj4g IGZzL25mcy9uZnM0cHJvYy5jIHwgICAxNSArKysrKysrKystLS0tLS0NCj4gIDEgZmlsZXMgY2hh bmdlZCwgOSBpbnNlcnRpb25zKCspLCA2IGRlbGV0aW9ucygtKQ0KPiANCj4gZGlmZiAtLWdpdCBh L2ZzL25mcy9uZnM0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