Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754752AbZJRPwS (ORCPT ); Sun, 18 Oct 2009 11:52:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754715AbZJRPwR (ORCPT ); Sun, 18 Oct 2009 11:52:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10846 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754710AbZJRPwR (ORCPT ); Sun, 18 Oct 2009 11:52:17 -0400 Subject: Re: [BUGFIX] dnotify: handle_event shouldn't match on FS_EVENT_ON_CHILD From: Eric Paris To: Andreas Gruenbacher Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Andrew Morton In-Reply-To: <200910181446.44625.agruen@suse.de> References: <200910181446.44625.agruen@suse.de> Content-Type: text/plain; charset="UTF-8" Date: Sun, 18 Oct 2009 11:52:10 -0400 Message-Id: <1255881130.15182.99.camel@dhcp231-106.rdu.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 698 Lines: 16 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/