Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx12.netapp.com ([216.240.18.77]:23426 "EHLO mx12.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754211Ab2K2PdS (ORCPT ); Thu, 29 Nov 2012 10:33:18 -0500 From: "Myklebust, Trond" To: simo CC: 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 15:33:07 +0000 Message-ID: <4FA345DA4F4AE44899BD2B03EEEC2FA90B32AEB7@SACEXCMBX04-PRD.hq.netapp.com> References: <4FA345DA4F4AE44899BD2B03EEEC2FA90B329CFD@SACEXCMBX04-PRD.hq.netapp.com> <1354202525.4064.1.camel@pico.ipa.ssimo.org> In-Reply-To: <1354202525.4064.1.camel@pico.ipa.ssimo.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDEyLTExLTI5IGF0IDEwOjIyIC0wNTAwLCBzaW1vIHdyb3RlOg0KPiBPbiBUaHUs IDIwMTItMTEtMjkgYXQgMTU6NDkgKzAxMDAsIFN0ZWYgQm9uIHdyb3RlOg0KPiA+IDIwMTIvMTEv MjkgTXlrbGVidXN0LCBUcm9uZCA8VHJvbmQuTXlrbGVidXN0QG5ldGFwcC5jb20+Og0KPiA+ID4+ IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4gPj4NCj4gPiA+PiAxLiB3aGlsZSB0aGUg ZmlsZXN5c3RlbXMgYXJlIHVzaW5nIGNyZWRlbnRhaWxzIG9yIHRpY2tldHMgdG8gZ2V0IGFjY2Vz cyB0byBhDQo+ID4gPj4gcmVtb3RlIHJlc291cmNlLCB0aGlzIGlzIGEgYml0IGRpZmZpY3VsdCBm b3Igbm90aWZ5ZnMuDQo+ID4gPj4gTm90aWZ5ZnMgYnlwYXNzZXMgdGhhdC4gTWF5YmUgdGhpcyBs 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