]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] inotify (1/5): split kernel API from userspace support
authorAmy Griffis <amy.griffis@hp.com>
Thu, 1 Jun 2006 20:10:59 +0000 (13:10 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Jun 2006 09:25:17 +0000 (05:25 -0400)
commit2d9048e201bfb67ba21f05e647b1286b8a4a5667
tree1df2ca6780d403f3209cf445f8b0b27f45098434
parent90204e0b7b51e9f2a6905adca12dc331128602c7
[PATCH] inotify (1/5): split kernel API from userspace support

The following series of patches introduces a kernel API for inotify,
making it possible for kernel modules to benefit from inotify's
mechanism for watching inodes.  With these patches, inotify will
maintain for each caller a list of watches (via an embedded struct
inotify_watch), where each inotify_watch is associated with a
corresponding struct inode.  The caller registers an event handler and
specifies for which filesystem events their event handler should be
called per inotify_watch.

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/Kconfig
fs/Makefile
fs/inotify.c
fs/inotify_user.c [new file with mode: 0644]
include/linux/inotify.h
include/linux/sched.h
kernel/sysctl.c
kernel/user.c