]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/notify/dnotify/dnotify.c
fsnotify: Pass fsnotify_iter_info into handle_event handler
[karo-tx-linux.git] / fs / notify / dnotify / dnotify.c
index 5a4ec309e28375eb60981f9c32314e1ae28c1efd..aba165ae33979bc384653629ad33abd71781d939 100644 (file)
@@ -69,8 +69,7 @@ static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark)
        if (old_mask == new_mask)
                return;
 
-       if (fsn_mark->inode)
-               fsnotify_recalc_inode_mask(fsn_mark->inode);
+       fsnotify_recalc_mask(fsn_mark->connector);
 }
 
 /*
@@ -86,7 +85,8 @@ static int dnotify_handle_event(struct fsnotify_group *group,
                                struct fsnotify_mark *inode_mark,
                                struct fsnotify_mark *vfsmount_mark,
                                u32 mask, const void *data, int data_type,
-                               const unsigned char *file_name, u32 cookie)
+                               const unsigned char *file_name, u32 cookie,
+                               struct fsnotify_iter_info *iter_info)
 {
        struct dnotify_mark *dn_mark;
        struct dnotify_struct *dn;