lib/genalloc: fix the overflow when size is too big
[linux-2.6-microblaze.git] / kernel / audit_tree.c
index 1b7a2f0..6c91902 100644 (file)
@@ -1035,11 +1035,9 @@ static void evict_chunk(struct audit_chunk *chunk)
                audit_schedule_prune();
 }
 
-static int audit_tree_handle_event(struct fsnotify_group *group,
-                                  struct inode *to_tell,
-                                  u32 mask, const void *data, int data_type,
-                                  const struct qstr *file_name, u32 cookie,
-                                  struct fsnotify_iter_info *iter_info)
+static int audit_tree_handle_event(struct fsnotify_mark *mark, u32 mask,
+                                  struct inode *inode, struct inode *dir,
+                                  const struct qstr *file_name, u32 cookie)
 {
        return 0;
 }
@@ -1068,7 +1066,7 @@ static void audit_tree_freeing_mark(struct fsnotify_mark *mark,
 }
 
 static const struct fsnotify_ops audit_tree_ops = {
-       .handle_event = audit_tree_handle_event,
+       .handle_inode_event = audit_tree_handle_event,
        .freeing_mark = audit_tree_freeing_mark,
        .free_mark = audit_tree_destroy_watch,
 };