Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx12.netapp.com ([216.240.18.77]:40512 "EHLO mx12.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980Ab2JYSSB (ORCPT ); Thu, 25 Oct 2012 14:18:01 -0400 Received: from vmwexceht02-prd.hq.netapp.com (vmwexceht02-prd.hq.netapp.com [10.106.76.240]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q9PII0si027313 for ; Thu, 25 Oct 2012 11:18:00 -0700 (PDT) From: "Myklebust, Trond" To: "Adamson, Dros" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH] NFS: avoid deadlock in nfs_kill_super Date: Thu, 25 Oct 2012 18:17:58 +0000 Message-ID: <4FA345DA4F4AE44899BD2B03EEEC2FA9092922A5@SACEXCMBX04-PRD.hq.netapp.com> References: <1351188163-10067-1-git-send-email-dros@netapp.com> In-Reply-To: <1351188163-10067-1-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: T24gVGh1LCAyMDEyLTEwLTI1IGF0IDE0OjAyIC0wNDAwLCBXZXN0b24gQW5kcm9zIEFkYW1zb24g d3JvdGU6DQo+IENhbGxpbmcgbmZzX2tpbGxfc3VwZXIgZnJvbSBhbiBSUEMgdGFzayBjYWxsYmFj ayB3b3VsZCByZXN1bHQgaW4gYSBkZWFkbG9jaw0KPiB3aGVyZSBuZnNfZnJlZV9zZXJ2ZXIgKHZp YSBycGNfc2h1dGRvd25fY2xpZW50KSB0cmllcyB0byBraWxsIGFsbA0KPiBSUEMgdGFza3MgYXNz b2NpYXRlZCB3aXRoIHRoYXQgY29ubmVjdGlvbiAtIGluY2x1ZGluZyBpdHNlbGYhDQo+IA0KPiBJ bnN0ZWFkIG9mIGNhbGxpbmcgbmZzX2tpbGxfc3VwZXIgZGlyZWN0bHksIHF1ZXVlIGEgam9iIG9u IHRoZSBuZnN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