Ulisses Furquim ac74c00e49 inotify: fix check for one-shot watches before destroying them
As the IN_ONESHOT bit is never set when an event is sent we must check it
in the watch's mask and not in the event's mask.

Signed-off-by: Ulisses Furquim <ulissesf@gmail.com>
Reported-by: "Clem Taylor" <clem.taylor@gmail.com>
Tested-by: "Clem Taylor" <clem.taylor@gmail.com>
Cc: Amy Griffis <amy.griffis@hp.com>
Cc: Robert Love <rlove@google.com>
Cc: John McCutchan <ttb@tentacle.dhs.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:22 -08:00
..
2008-02-07 08:42:26 -08:00
2007-10-19 11:53:37 -07:00
2007-10-22 08:13:21 -07:00
2008-02-07 08:42:27 -08:00
2007-10-18 14:37:31 -07:00
2007-10-17 08:42:54 -07:00
2008-01-30 13:31:46 +01:00
2008-02-08 02:09:56 +00:00
2008-02-06 10:41:07 -08:00
2008-02-05 09:44:07 -08:00
2008-02-06 10:41:07 -08:00
2008-01-30 13:31:46 +01:00
2008-02-03 17:51:36 -05:00
2008-01-30 13:31:46 +01:00
2008-02-06 10:41:09 -08:00
2007-11-14 18:45:42 -08:00
2007-10-15 17:00:19 +02:00
2008-02-06 10:41:02 -08:00
2008-02-05 09:44:07 -08:00