]> Pileus Git - ~andy/linux/blobdiff - kernel/audit_tree.c
fsnotify: do not share events between notification groups
[~andy/linux] / kernel / audit_tree.c
index 43c307dc9453d5c9166596d2303deaf099cbf5b0..bcc0b1821227e0dd08dbff4a5af8cb6d46abf71d 100644 (file)
@@ -912,9 +912,11 @@ static void evict_chunk(struct audit_chunk *chunk)
 }
 
 static int audit_tree_handle_event(struct fsnotify_group *group,
+                                  struct inode *to_tell,
                                   struct fsnotify_mark *inode_mark,
-                                  struct fsnotify_mark *vfsmonut_mark,
-                                  struct fsnotify_event *event)
+                                  struct fsnotify_mark *vfsmount_mark,
+                                  u32 mask, void *data, int data_type,
+                                  const unsigned char *file_name)
 {
        BUG();
        return -EOPNOTSUPP;
@@ -945,7 +947,7 @@ static const struct fsnotify_ops audit_tree_ops = {
        .handle_event = audit_tree_handle_event,
        .should_send_event = audit_tree_send_event,
        .free_group_priv = NULL,
-       .free_event_priv = NULL,
+       .free_event = NULL,
        .freeing_mark = audit_tree_freeing_mark,
 };