]> Pileus Git - ~andy/linux/blobdiff - fs/notify/fsnotify.c
fsnotify: remove .should_send_event callback
[~andy/linux] / fs / notify / fsnotify.c
index 7c754c91c3f6e21091d22c8d8e09264d018c0559..1d4e1ea2f37ca4995db3f16db9bd00bbf862ca93 100644 (file)
@@ -177,11 +177,6 @@ static int send_to_group(struct inode *to_tell,
        if (!inode_test_mask && !vfsmount_test_mask)
                return 0;
 
-       if (group->ops->should_send_event(group, to_tell, inode_mark,
-                                         vfsmount_mark, mask, data,
-                                         data_is) == false)
-               return 0;
-
        return group->ops->handle_event(group, to_tell, inode_mark,
                                        vfsmount_mark, mask, data, data_is,
                                        file_name);