]> err.no Git - linux-2.6/commit
[PATCH] inotify (3/5): add interfaces to kernel API
authorAmy Griffis <amy.griffis@hp.com>
Thu, 1 Jun 2006 20:11:03 +0000 (13:11 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Jun 2006 09:25:18 +0000 (05:25 -0400)
commita9dc971d3fdb857a2bcd6d53238125a2cd31d5f4
tree02e8816f583b5ca40da5789ab9e8d7de9b3ed598
parent7c29772288b7026504cfe75bfd90d40fbd1574bf
[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 <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
fs/inotify_user.c
include/linux/inotify.h