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:55 -0400 |
commit | 1968f5eed54ce47bde488fd9a450912e4a2d7138 (patch) | |
tree | bcf13b98fda519c240e89cae3de95fc7d9ece715 /fs/notify/fsnotify.c | |
parent | ce8f76fb7320297ccbe7c950fd9a2d727dd6a5a0 (diff) |
fanotify: use both marks when possible
fanotify currently, when given a vfsmount_mark will look up (if it exists)
the corresponding inode mark. This patch drops that lookup and uses the
mark provided.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/fsnotify.c')
-rw-r--r-- | fs/notify/fsnotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c index 090b64c3b4f9..4d2a82c1ceb1 100644 --- a/fs/notify/fsnotify.c +++ b/fs/notify/fsnotify.c | |||
@@ -183,7 +183,7 @@ static int send_to_group(struct inode *to_tell, struct vfsmount *mnt, | |||
183 | if (!inode_test_mask && !vfsmount_test_mask) | 183 | if (!inode_test_mask && !vfsmount_test_mask) |
184 | return 0; | 184 | return 0; |
185 | 185 | ||
186 | if (group->ops->should_send_event(group, to_tell, mnt, inode_mark, | 186 | if (group->ops->should_send_event(group, to_tell, inode_mark, |
187 | vfsmount_mark, mask, data, | 187 | vfsmount_mark, mask, data, |
188 | data_is) == false) | 188 | data_is) == false) |
189 | return 0; | 189 | return 0; |