fsnotify: generic notification queue and waitq
authorEric Paris <eparis@redhat.com>
Thu, 21 May 2009 21:01:37 +0000 (17:01 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 18:57:53 +0000 (14:57 -0400)
commita2d8bc6cb4a3024661baf877242f123787d0c054
tree4ff3f93877a8992d5383c14fb6012ab9b1954660
parent3c5119c05d624f95f4967d16b38c9624b816bdb9
fsnotify: generic notification queue and waitq

inotify needs to do asyc notification in which event information is stored
on a queue until the listener is ready to receive it.  This patch
implements a generic notification queue for inotify (and later fanotify) to
store events to be sent at a later time.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
fs/notify/fsnotify.h
fs/notify/group.c
fs/notify/notification.c
include/linux/fsnotify_backend.h