Re: [PATCH] Avoid having to provide a fake/invalid fd and path whenflushing marks

From: Eric Paris
Date: Wed Jan 19 2011 - 15:45:19 EST


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 <tvrtko.ursulin@xxxxxxxxxx>

Inline patch had spaces instead of tabs. Your attached patch worked and
I committed it. Thanks and sorry to be soooo slow!

-Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/