diff options
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r-- | kernel/audit_watch.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index b955a22d8ff1..4d5ea0319a6c 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c | |||
@@ -511,8 +511,8 @@ void audit_remove_watch_rule(struct audit_krule *krule) | |||
511 | } | 511 | } |
512 | 512 | ||
513 | static bool audit_watch_should_send_event(struct fsnotify_group *group, struct inode *inode, | 513 | static bool audit_watch_should_send_event(struct fsnotify_group *group, struct inode *inode, |
514 | struct vfsmount *mnt, __u32 mask, void *data, | 514 | struct vfsmount *mnt, struct fsnotify_mark *mark, |
515 | int data_type) | 515 | __u32 mask, void *data, int data_type) |
516 | { | 516 | { |
517 | struct fsnotify_mark *entry; | 517 | struct fsnotify_mark *entry; |
518 | bool send; | 518 | bool send; |
@@ -531,7 +531,9 @@ static bool audit_watch_should_send_event(struct fsnotify_group *group, struct i | |||
531 | } | 531 | } |
532 | 532 | ||
533 | /* Update watch data in audit rules based on fsnotify events. */ | 533 | /* Update watch data in audit rules based on fsnotify events. */ |
534 | static int audit_watch_handle_event(struct fsnotify_group *group, struct fsnotify_event *event) | 534 | static int audit_watch_handle_event(struct fsnotify_group *group, |
535 | struct fsnotify_mark *mark, | ||
536 | struct fsnotify_event *event) | ||
535 | { | 537 | { |
536 | struct inode *inode; | 538 | struct inode *inode; |
537 | __u32 mask = event->mask; | 539 | __u32 mask = event->mask; |