diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-18 03:24:23 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 15:58:52 +0200 |
commit | 3a9fb89f4cd04c23e16397befba92efb5d989b74 (patch) | |
tree | f60b48c8cf488ad8952601ccbc6192b5f86ec900 /kernel/audit_tree.c | |
parent | fsnotify: mount point listeners list and global mask (diff) | |
download | linux-3a9fb89f4cd04c23e16397befba92efb5d989b74.tar.xz linux-3a9fb89f4cd04c23e16397befba92efb5d989b74.zip |
fsnotify: include vfsmount in should_send_event when appropriate
To ensure that a group will not duplicate events when it receives it based
on the vfsmount and the inode should_send_event test we should distinguish
those two cases. We pass a vfsmount to this function so groups can make
their own determinations.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/audit_tree.c')
-rw-r--r-- | kernel/audit_tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index 04f16887406b..ecf0bf260d09 100644 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c @@ -920,7 +920,8 @@ static void audit_tree_freeing_mark(struct fsnotify_mark_entry *entry, struct fs } static bool audit_tree_send_event(struct fsnotify_group *group, struct inode *inode, - __u32 mask, void *data, int data_type) + struct vfsmount *mnt, __u32 mask, void *data, + int data_type) { return 0; } |