]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/notify/fanotify/fanotify_user.c
fanotify: quit wanking with FASYNC in ->release()
[karo-tx-linux.git] / fs / notify / fanotify / fanotify_user.c
index 6c80083a984fc192ebc73bad2a2edc86b4c25e11..1ea52f7c031fbd2aed6247ec445d10103ec973ad 100644 (file)
@@ -399,9 +399,6 @@ static int fanotify_release(struct inode *ignored, struct file *file)
        wake_up(&group->fanotify_data.access_waitq);
 #endif
 
-       if (file->f_flags & FASYNC)
-               fsnotify_fasync(-1, file, 0);
-
        /* matches the fanotify_init->fsnotify_alloc_group */
        fsnotify_destroy_group(group);