[PATCH] inotify: fix one-shot support
authorRobert Love <rml@novell.com>
Tue, 7 Feb 2006 20:58:45 +0000 (12:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:33 +0000 (16:12 -0800)
commitb5173119ff10c5538e92a7957a50887ae170b8da
tree5b5af4e03e627b66a9f37d25dd370a145ec72438
parent8e08b756869eeb08ace17ad64c2a8cb97b18e856
[PATCH] inotify: fix one-shot support

Fix one-shot support in inotify.  We currently drop the IN_ONESHOT flag
during watch addition.  Fix is to not do that.

Signed-off-by: Robert Love <rml@novell.com>
Cc: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/inotify.c