diff options
author | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:39 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 10:18:54 -0400 |
commit | ce8f76fb7320297ccbe7c950fd9a2d727dd6a5a0 (patch) | |
tree | fb870e9564bfef438e46ba3c39be2999e246b179 /kernel/audit_tree.c | |
parent | 613a807fe7c793ceb7d6f059773527a5a6c84a96 (diff) | |
download | op-kernel-dev-ce8f76fb7320297ccbe7c950fd9a2d727dd6a5a0.zip op-kernel-dev-ce8f76fb7320297ccbe7c950fd9a2d727dd6a5a0.tar.gz |
fsnotify: pass both the vfsmount mark and inode mark
should_send_event() and handle_event() will both need to look up the inode
event if they get a vfsmount event. Lets just pass both at the same time
since we have them both after walking the lists in lockstep.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/audit_tree.c')
-rw-r--r-- | kernel/audit_tree.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index 2abb99f..781ab7f 100644 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c @@ -904,7 +904,8 @@ static void evict_chunk(struct audit_chunk *chunk) } static int audit_tree_handle_event(struct fsnotify_group *group, - struct fsnotify_mark *mark, + struct fsnotify_mark *inode_mark, + struct fsnotify_mark *vfsmonut_mark, struct fsnotify_event *event) { BUG(); @@ -920,7 +921,8 @@ 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, struct fsnotify_mark *mark, + struct vfsmount *mnt, struct fsnotify_mark *inode_mark, + struct fsnotify_mark *vfsmount_mark, __u32 mask, void *data, int data_type) { return false; |