diff options
author | Eric Paris <eparis@redhat.com> | 2009-05-21 17:01:50 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2009-06-11 14:57:54 -0400 |
commit | e4aff117368cfdd3567ee41844d216d079b55173 (patch) | |
tree | c467bc38edc7ba3154bbf6875dca635b855e1c8c /fs/notify/dnotify | |
parent | 47882c6f51e8ef41fbbe2bbb746a1ea3228dd7ca (diff) |
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.c | 1 |
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 = { | |||
183 | .should_send_event = dnotify_should_send_event, | 183 | .should_send_event = dnotify_should_send_event, |
184 | .free_group_priv = NULL, | 184 | .free_group_priv = NULL, |
185 | .freeing_mark = dnotify_freeing_mark, | 185 | .freeing_mark = dnotify_freeing_mark, |
186 | .free_event_priv = NULL, | ||
186 | }; | 187 | }; |
187 | 188 | ||
188 | /* | 189 | /* |