aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-07-28 10:18:39 -0400
committerEric Paris <eparis@redhat.com>2010-07-28 10:18:55 -0400
commit1968f5eed54ce47bde488fd9a450912e4a2d7138 (patch)
treebcf13b98fda519c240e89cae3de95fc7d9ece715 /include
parentce8f76fb7320297ccbe7c950fd9a2d727dd6a5a0 (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 'include')
-rw-r--r--include/linux/fsnotify_backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
index d38f922977f9..9bbfd7204b04 100644
--- a/include/linux/fsnotify_backend.h
+++ b/include/linux/fsnotify_backend.h
@@ -92,7 +92,7 @@ struct fsnotify_event_private_data;
92 */ 92 */
93struct fsnotify_ops { 93struct fsnotify_ops {
94 bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode, 94 bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode,
95 struct vfsmount *mnt, struct fsnotify_mark *inode_mark, 95 struct fsnotify_mark *inode_mark,
96 struct fsnotify_mark *vfsmount_mark, 96 struct fsnotify_mark *vfsmount_mark,
97 __u32 mask, void *data, int data_type); 97 __u32 mask, void *data, int data_type);
98 int (*handle_event)(struct fsnotify_group *group, 98 int (*handle_event)(struct fsnotify_group *group,