Re: [BUGFIX] dnotify: handle_event shouldn't match onFS_EVENT_ON_CHILD

From: Eric Paris
Date: Sun Oct 18 2009 - 11:52:27 EST


On Sun, 2009-10-18 at 14:46 +0200, Andreas Gruenbacher wrote:
> Mask off FS_EVENT_ON_CHILD in dnotify_handle_event(). Otherwise, when there
> is more than one watch on a directory and dnotify_should_send_event()
> succeeds, events with FS_EVENT_ON_CHILD set will trigger all watches and cause
> spurious events.

Added to my linus tree last night (along with a couple other fixes) will
push it public and ask him to pull when I finish testing.

-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/