[PATCH] inotify (4/5): allow watch removal from event handler
authorAmy Griffis <amy.griffis@hp.com>
Thu, 1 Jun 2006 20:11:05 +0000 (13:11 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Jun 2006 09:25:19 +0000 (05:25 -0400)
commit3ca10067f7f4bfa62a1b0edc84f590261fa02d75
tree456e1b555cd4af838bd4e833aa7589ab2bab6766
parenta9dc971d3fdb857a2bcd6d53238125a2cd31d5f4
[PATCH] inotify (4/5): allow watch removal from event handler

Allow callers to remove watches from their event handler via
inotify_remove_watch_locked().  This functionality can be used to
achieve IN_ONESHOT-like functionality for a subset of events in the
mask.

Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Acked-by: Robert Love <rml@novell.com>
Acked-by: John McCutchan <john@johnmccutchan.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inotify.c
include/linux/inotify.h