From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Paris Subject: Re: [PATCH] Avoid having to provide a fake/invalid fd and path when flushing marks Date: Wed, 19 Jan 2011 15:45:04 -0500 Message-ID: <1295469904.21577.35.camel@localhost.localdomain> References: <201101121213.58639.tvrtko.ursulin@sophos.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" To: Tvrtko Ursulin Return-path: In-Reply-To: <201101121213.58639.tvrtko.ursulin@sophos.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 2011-01-12 at 12:13 +0000, Tvrtko Ursulin wrote: > (Patch also attached in case our outgoing mail servers decide > to munge tabs again.) > > Currently for a group to flush marks it has set it needs to > provide a fake or invalid (but resolvable) file descriptor > and path when calling fanotify_mark. This patch pulls the > flush handling a bit up so file descriptor and path are > completely ignored when flushing. > > Signed-off-by: Tvrtko Ursulin Inline patch had spaces instead of tabs. Your attached patch worked and I committed it. Thanks and sorry to be soooo slow! -Eric