]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/notify/inotify/inotify_user.c
fanotify: don't wank with FASYNC on ->release()
[karo-tx-linux.git] / fs / notify / inotify / inotify_user.c
index e0f7c1241a6adb60e03034bb118586407a24e37c..1db6d886cbf25f472b1aaeb18eb554ccacbbe059 100644 (file)
@@ -287,9 +287,6 @@ static int inotify_release(struct inode *ignored, struct file *file)
 
        pr_debug("%s: group=%p\n", __func__, group);
 
-       if (file->f_flags & FASYNC)
-               fsnotify_fasync(-1, file, 0);
-
        /* free this group, matching get was inotify_init->fsnotify_obtain_group */
        fsnotify_destroy_group(group);