From: Amy Griffis Date: Thu, 1 Jun 2006 20:11:03 +0000 (-0700) Subject: [PATCH] inotify (3/5): add interfaces to kernel API X-Git-Tag: v2.6.18-rc1~1102^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9dc971d3fdb857a2bcd6d53238125a2cd31d5f4;p=pandora-kernel.git [PATCH] inotify (3/5): add interfaces to kernel API Add inotify_init_watch() so caller can use inotify_watch refcounts before calling inotify_add_watch(). Add inotify_find_watch() to find an existing watch for an (ih,inode) pair. This is similar to inotify_find_update_watch(), but does not update the watch's mask if one is found. Add inotify_rm_watch() to remove a watch via the watch pointer instead of the watch descriptor. Signed-off-by: Amy Griffis Acked-by: Robert Love Acked-by: John McCutchan Signed-off-by: Al Viro --- Reading git-diff-tree failed