]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/audit_tree.c
fsnotify: pass both the vfsmount mark and inode mark
[net-next-2.6.git] / kernel / audit_tree.c
index cfb97d752a618a4bddc4019b1f8767c4bc01967f..781ab7f4e35c7197e074a2723ecd4feb0b898deb 100644 (file)
@@ -903,7 +903,10 @@ static void evict_chunk(struct audit_chunk *chunk)
        mutex_unlock(&audit_filter_mutex);
 }
 
-static int audit_tree_handle_event(struct fsnotify_group *group, struct fsnotify_event *event)
+static int audit_tree_handle_event(struct fsnotify_group *group,
+                                  struct fsnotify_mark *inode_mark,
+                                  struct fsnotify_mark *vfsmonut_mark,
+                                  struct fsnotify_event *event)
 {
        BUG();
        return -EOPNOTSUPP;
@@ -918,10 +921,11 @@ static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify
 }
 
 static bool audit_tree_send_event(struct fsnotify_group *group, struct inode *inode,
-                                 struct vfsmount *mnt, __u32 mask, void *data,
-                                 int data_type)
+                                 struct vfsmount *mnt, struct fsnotify_mark *inode_mark,
+                                 struct fsnotify_mark *vfsmount_mark,
+                                 __u32 mask, void *data, int data_type)
 {
-       return 0;
+       return false;
 }
 
 static const struct fsnotify_ops audit_tree_ops = {