fsnotify: allow groups to add private data to events
authorEric Paris <eparis@redhat.com>
Thu, 21 May 2009 21:01:50 +0000 (17:01 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 18:57:54 +0000 (14:57 -0400)
commite4aff117368cfdd3567ee41844d216d079b55173
treec467bc38edc7ba3154bbf6875dca635b855e1c8c
parent47882c6f51e8ef41fbbe2bbb746a1ea3228dd7ca
fsnotify: allow groups to add private data to events

inotify needs per group information attached to events.  This patch allows
groups to attach private information and implements a callback so that
information can be freed when an event is being destroyed.

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/dnotify/dnotify.c
fs/notify/notification.c
include/linux/fsnotify_backend.h