Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx12.netapp.com ([216.240.18.77]:53361 "EHLO mx12.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752566Ab2K2RGX (ORCPT ); Thu, 29 Nov 2012 12:06:23 -0500 From: "Myklebust, Trond" To: Steve French CC: simo , Stef Bon , "linux-nfs@vger.kernel.org" , linux-cifs Subject: Re: Possible to make nfs aware of a inotify watch has been set. Date: Thu, 29 Nov 2012 17:05:41 +0000 Message-ID: <4FA345DA4F4AE44899BD2B03EEEC2FA90B32B27E@SACEXCMBX04-PRD.hq.netapp.com> References: <4FA345DA4F4AE44899BD2B03EEEC2FA90B329CFD@SACEXCMBX04-PRD.hq.netapp.com> <1354202525.4064.1.camel@pico.ipa.ssimo.org> <4FA345DA4F4AE44899BD2B03EEEC2FA90B32AEB7@SACEXCMBX04-PRD.hq.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: T24gVGh1LCAyMDEyLTExLTI5IGF0IDEwOjI4IC0wNjAwLCBTdGV2ZSBGcmVuY2ggd3JvdGU6DQo+ IE9uIFRodSwgTm92IDI5LCAyMDEyIGF0IDk6MzMgQU0sIE15a2xlYnVzdCwgVHJvbmQNCj4gPFRy b25kLk15a2xlYnVzdEBuZXRhcHAuY29tPiB3cm90ZToNCj4gPiBPbiBUaHUsIDIwMTItMTEtMjkg YXQgMTA6MjIgLTA1MDAsIHNpbW8gd3JvdGU6DQo+ID4+IE9uIFRodSwgMjAxMi0xMS0yOSBhdCAx NTo0OSArMDEwMCwgU3RlZiBCb24gd3JvdGU6DQo+ID4+ID4gMjAxMi8xMS8yOSBNeWtsZWJ1c3Qs IFRyb25kIDxUcm9uZC5NeWtsZWJ1c3RAbmV0YXBwLmNvbT46DQo+ID4+ID4gPj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gPj4gPiA+Pg0KPiA+PiA+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