]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/notify/dnotify/dnotify.c
fsnotify: include vfsmount in should_send_event when appropriate
[net-next-2.6.git] / fs / notify / dnotify / dnotify.c
index e0a847bd53bea7cbeb5111a2b812bbe612573184..9eddafa4c7ba878c05f7cd42d6bd769d3b81bf0f 100644 (file)
@@ -133,8 +133,8 @@ static int dnotify_handle_event(struct fsnotify_group *group,
  * userspace notification for that pair.
  */
 static bool dnotify_should_send_event(struct fsnotify_group *group,
-                                     struct inode *inode, __u32 mask,
-                                     void *data, int data_type)
+                                     struct inode *inode, struct vfsmount *mnt,
+                                     __u32 mask, void *data, int data_type)
 {
        struct fsnotify_mark_entry *entry;
        bool send;