summaryrefslogtreecommitdiff
path: root/fs/notify/dnotify
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-05-22 01:01:50 +0400
committerEric Paris <eparis@redhat.com>2009-06-11 22:57:54 +0400
commite4aff117368cfdd3567ee41844d216d079b55173 (patch)
treec467bc38edc7ba3154bbf6875dca635b855e1c8c /fs/notify/dnotify
parent47882c6f51e8ef41fbbe2bbb746a1ea3228dd7ca (diff)
downloadlinux-e4aff117368cfdd3567ee41844d216d079b55173.tar.xz
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>
Diffstat (limited to 'fs/notify/dnotify')
-rw-r--r--fs/notify/dnotify/dnotify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/notify/dnotify/dnotify.c b/fs/notify/dnotify/dnotify.c
index d9d80f502c6f..12f9e6b1ffe2 100644
--- a/fs/notify/dnotify/dnotify.c
+++ b/fs/notify/dnotify/dnotify.c
@@ -183,6 +183,7 @@ static struct fsnotify_ops dnotify_fsnotify_ops = {
.should_send_event = dnotify_should_send_event,
.free_group_priv = NULL,
.freeing_mark = dnotify_freeing_mark,
+ .free_event_priv = NULL,
};
/*