Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:45140 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754106Ab2LGXz7 (ORCPT ); Fri, 7 Dec 2012 18:55:59 -0500 From: "Myklebust, Trond" To: Pavel Shilovsky , Christoph Hellwig CC: "linux-cifs@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "wine-devel@winehq.org" , "linux-nfs@vger.kernel.org" Subject: RE: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs Date: Fri, 7 Dec 2012 23:55:39 +0000 Message-ID: <4FA345DA4F4AE44899BD2B03EEEC2FA90B33D95E@SACEXCMBX04-PRD.hq.netapp.com> References: <1354818391-7968-1-git-send-email-piastry@etersoft.ru> <20121207161602.GA17710@infradead.org> <495d17310e0a687d446afc86def0f058@office.etersoft.ru> In-Reply-To: <495d17310e0a687d446afc86def0f058@office.etersoft.ru> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBsaW51eC1uZnMtb3duZXJAdmdl ci5rZXJuZWwub3JnIFttYWlsdG86bGludXgtbmZzLQ0KPiBvd25lckB2Z2VyLmtlcm5lbC5vcmdd IE9uIEJlaGFsZiBPZiBQYXZlbCBTaGlsb3Zza3kNCj4gU2VudDogRnJpZGF5LCBEZWNlbWJlciAw NywgMjAxMiA5OjQzIFBNDQo+IFRvOiBDaHJpc3RvcGggSGVsbHdpZw0KPiBDYzogbGludXgtY2lm c0B2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LQ0K PiBmc2RldmVsQHZnZXIua2VybmVsLm9yZzsgd2luZS1kZXZlbEB3aW5laHEub3JnOyBsaW51eC0N Cj4gbmZzQHZnZX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