fsnotify: pass dir argument to handle_event() callback
[linux-2.6-block.git] / kernel / audit_watch.c
index e09c551ae52d49f4f78460d8e84d47e420a9cc3d..61fd601f1edfa39de22a22fdeae74b07d9d3b1aa 100644 (file)
@@ -464,9 +464,9 @@ void audit_remove_watch_rule(struct audit_krule *krule)
 }
 
 /* Update watch data in audit rules based on fsnotify events. */
-static int audit_watch_handle_event(struct fsnotify_group *group,
-                                   struct inode *to_tell,
-                                   u32 mask, const void *data, int data_type,
+static int audit_watch_handle_event(struct fsnotify_group *group, u32 mask,
+                                   const void *data, int data_type,
+                                   struct inode *dir,
                                    const struct qstr *dname, u32 cookie,
                                    struct fsnotify_iter_info *iter_info)
 {